Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions server/modules/authentication/oidc/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
passReqToCallback: true,
skipUserProfile: conf.skipUserProfile,
acrValues: conf.acrValues
scope: conf.scope
}, async (req, iss, uiProfile, idProfile, context, idToken, accessToken, refreshToken, params, cb) => {
const profile = Object.assign({}, idProfile, uiProfile)
const picture = _.get(profile, '_json.' + conf.pictureClaim, '')
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 @@ -92,3 +92,8 @@ props:
title: ACR Values
hint: (optional) Authentication Context Class Reference
order: 14
scope:
type: String
title: Scope
hint: (optional) Additional permission scopes to request. 'openid profile email' are always included. Add extra scopes here, e.g. 'roles'.
order: 15