Skip to content

Commit

Permalink
feat: add ACR Value option to OIDC Module (#6553)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
  • Loading branch information
dmc6297 and NGPixel authored Jul 5, 2023
1 parent f02b7ba commit db8a09f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/modules/authentication/oidc/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
5 changes: 5 additions & 0 deletions server/modules/authentication/oidc/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit db8a09f

Please sign in to comment.