Skip to content

Commit 087f6b4

Browse files
committed
Add redirect for .well-known login popup.
1 parent 232e5c9 commit 087f6b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/api/authn/webid-oidc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ function middleware (oidc) {
9494
['/common/js/', 'solid-auth-client/dist-lib/solid-auth-client.bundle.js.map']
9595
]
9696
authAssets.map(([path, file]) => routeResolvedFile(router, path, file))
97+
// Redirect for .well-known login popup location
98+
router.get('/.well-known/solid/login',
99+
(req, res) => res.redirect('/common/popup.html'))
97100

98101
// Initialize the OIDC Identity Provider routes/api
99102
// router.get('/.well-known/openid-configuration', discover.bind(provider))

0 commit comments

Comments
 (0)