Update docs/auth/oidc.md

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Carlos Esteban Lopez Jaramillo <luchillo17@gmail.com>
This commit is contained in:
Carlos Esteban Lopez Jaramillo
2022-10-02 19:18:18 -05:00
committed by GitHub
parent 92960f8fc2
commit b66fa896f3
-5
View File
@@ -196,11 +196,6 @@ export default async function createPlugin(
}
```
We could replace the whole `signIn` object with
`providers.microsoft.resolvers.emailLocalPartMatchingUserEntityName() as any` and as long
as you have the correct user configured in the catalog it should work, note the `as any`
part, TS will error out because of typings, so we type cast it to any, it should still
work given the response of an OIDC or OAuth2 request to microsoft is very similar.
### The configuration