d5d368cd33
* fix: pass userinfo URL in oidc strategy The userinfo URL from the definition was not being provided to the passport strategy, which resulted in a type error trying to resolve the user's profile. Furthermore, the name of the defined URL was inconsistent with all other authentication method URLs. * fix: pass all necessary scopes to oidc auth method When no scopes are provided, passport-openidconnect uses only `openid`, which does not contain the username or email address. Include `profile` and `email` to ensure the necessary claims are included. * fix: update oidc method to call processProfile correctly Now the profile object and providerKey are passed to processProfile. The usernameClaim no longer has any use as the email address is the username. * fix: mark oidc authentication method as available
22 lines
491 B
YAML
22 lines
491 B
YAML
key: oidc
|
|
title: Generic OpenID Connect
|
|
description: OpenID Connect 1.0 is a simple identity layer on top of the OAuth 2.0 protocol.
|
|
author: requarks.io
|
|
logo: https://static.requarks.io/logo/oidc.svg
|
|
color: blue-grey darken-2
|
|
website: http://openid.net/connect/
|
|
isAvailable: true
|
|
useForm: false
|
|
scopes:
|
|
- openid
|
|
- profile
|
|
- email
|
|
props:
|
|
clientId: String
|
|
clientSecret: String
|
|
authorizationURL: String
|
|
tokenURL: String
|
|
issuer: String
|
|
userInfoURL: String
|
|
emailClaim: String
|