Browse Source
feat: add ACR Value option to OIDC Module (#6553)
---------
Co-authored-by: Nicolas Giard <github@ngpixel.com>
pull/6587/head
Andrew McFadden
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
1 deletions
-
server/modules/authentication/oidc/authentication.js
-
server/modules/authentication/oidc/definition.yml
|
|
@ -20,7 +20,8 @@ module.exports = { |
|
|
|
userInfoURL: conf.userInfoURL, |
|
|
|
callbackURL: conf.callbackURL, |
|
|
|
passReqToCallback: true, |
|
|
|
skipUserProfile: conf.skipUserProfile |
|
|
|
skipUserProfile: conf.skipUserProfile, |
|
|
|
acrValues: conf.acrValues |
|
|
|
}, async (req, iss, uiProfile, idProfile, context, idToken, accessToken, refreshToken, params, cb) => { |
|
|
|
const profile = Object.assign({}, idProfile, uiProfile) |
|
|
|
|
|
|
|
|
|
@ -80,3 +80,8 @@ props: |
|
|
|
title: Logout URL |
|
|
|
hint: (optional) Logout URL on the OAuth2 provider where the user will be redirected to complete the logout process. |
|
|
|
order: 12 |
|
|
|
acrValues: |
|
|
|
type: String |
|
|
|
title: ACR Values |
|
|
|
hint: (optional) Authentication Context Class Reference |
|
|
|
order: 13 |