docs: Use correct user info name

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2022-10-03 11:46:16 -05:00
parent 90101b092e
commit b04f86e855
+1 -2
View File
@@ -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