Added SingIn Resolvers Config Details

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2024-04-12 14:01:02 -05:00
parent e46d3fe011
commit a874dd1524
10 changed files with 88 additions and 3 deletions
+9 -1
View File
@@ -22,9 +22,17 @@ The provider configuration can be added to your `app-config.yaml` under the root
auth:
environment: development
providers:
oauth2Proxy: {}
oauth2Proxy:
development:
signIn:
resolvers:
- resolver: emailMatchingUserEntityProfileEmail
- resolver: emailLocalPartMatchingUserEntityName
- resolver: forwardedUserMatchingUserEntityName
```
> Note: the resolvers will be tried in order, but will only be skipped if they throw a `NotFoundError`.
Right now no configuration options are supported, but the empty object is needed
to enable the provider in the auth backend.