Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
db8a09fe
Unverified
Commit
db8a09fe
authored
Jul 05, 2023
by
Andrew McFadden
Committed by
GitHub
Jul 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add ACR Value option to OIDC Module (#6553)
--------- Co-authored-by:
Nicolas Giard
<
github@ngpixel.com
>
parent
f02b7ba9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
authentication.js
server/modules/authentication/oidc/authentication.js
+2
-1
definition.yml
server/modules/authentication/oidc/definition.yml
+5
-0
No files found.
server/modules/authentication/oidc/authentication.js
View file @
db8a09fe
...
...
@@ -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
)
...
...
server/modules/authentication/oidc/definition.yml
View file @
db8a09fe
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment