feat: add ACR Value option to OIDC Module (#6553)

---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
Andrew McFadden 2023-07-05 17:18:21 -05:00 committed by GitHub
parent f02b7ba94e
commit db8a09fe8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -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)

View File

@ -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