Skip to content

Commit f29687a

Browse files
Merge pull request #927 from rubensworks/fix/redirect-wellknown-logout
Fix .well-known/solid/logout not being resolved
2 parents a461735 + a49135b commit f29687a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/api/authn/webid-oidc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function middleware (oidc) {
8282

8383
router.get('/logout', LogoutRequest.handle)
8484
router.post('/logout', LogoutRequest.handle)
85+
router.get('/.well-known/solid/logout/', (req, res) => res.redirect('/logout'))
8586

8687
router.get('/goodbye', (req, res) => { res.render('auth/goodbye') })
8788

0 commit comments

Comments
 (0)