docs: Use correct user info name
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
+1
-2
@@ -176,7 +176,7 @@ export default async function createPlugin(
|
||||
+ resolver(info, ctx) {
|
||||
+ const userRef = stringifyEntityRef({
|
||||
+ kind: 'User',
|
||||
+ name: info.profile.email!,
|
||||
+ name: info.result.userinfo.sub,
|
||||
+ namespace: DEFAULT_NAMESPACE,
|
||||
+ });
|
||||
+ return ctx.issueToken({
|
||||
@@ -191,7 +191,6 @@ export default async function createPlugin(
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### The configuration
|
||||
|
||||
Since we are using our custom OIDC Auth Provider, we need to add a configuration based
|
||||
|
||||
Reference in New Issue
Block a user