Skip to content

Commit 1c09007

Browse files
Move RS options to oidc-auth-manager initialization
1 parent d0b4749 commit 1c09007

File tree

3 files changed

+195
-210
lines changed

3 files changed

+195
-210
lines changed

lib/api/authn/webid-oidc.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ function initialize (app, argv) {
3232
app.use('/', middleware(oidc))
3333

3434
// Perform the actual authentication
35-
let rsOptions = {
36-
allow: { audience: [app.locals.host.serverUri] }
37-
}
38-
app.use('/', oidc.rs.authenticate(rsOptions))
35+
app.use('/', oidc.rs.authenticate())
3936

4037
// Expose session.userId
4138
app.use('/', (req, res, next) => {

0 commit comments

Comments
 (0)