mirror of
https://github.com/janishutz/oidc-login-sdk.git
synced 2026-10-08 17:36:20 +02:00
fix: ts error
This commit is contained in:
1 parent
1e4f456063
commit
b5bb1f5355
1 file changed
+1
-1
+1
-1
@@ -58,7 +58,7 @@ export const configure = (
|
||||
|
||||
app.get( '/auth/v2/login', ( req, res ) => {
|
||||
res.oidc.login( {
|
||||
'returnTo': req.query.returnTo ? String( req.query.returnTo ) : ( loginReturnURL.href ?? '/' ),
|
||||
'returnTo': req.query.returnTo ? String( req.query.returnTo ) : ( loginReturnURL?.href ?? '/' ),
|
||||
'authorizationParams': {
|
||||
'redirect_uri': appURL.href + 'auth/v2/verify'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user