Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/overseerr/commit/765c38b88599ad3e869bc973a3a7246a1da7c4c0
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
2 additions and
2 deletions
@ -434,7 +434,7 @@ authRoutes.get('/oidc-callback', async (req, res, next) => {
return res . status ( 500 ) . json ( { error : 'OIDC sign-in is disabled.' } ) ;
}
const cookieState = req . cookies [ 'oidc-state' ] ;
const url = new URL ( req . url , ` http ://${ req . hostname } ` ) ;
const url = new URL ( req . url , ` ${ req . protocol } ://${ req . hostname } ` ) ;
const state = url . searchParams . get ( 'state' ) ;
try {
@ -26,7 +26,7 @@ export async function getOIDCRedirectUrl(req: Request, state: string) {
const callbackUrl = new URL (
'/api/v1/auth/oidc-callback' ,
` http ://${ req . headers . host } `
` ${ req . protocol } ://${ req . headers . host } `
) . toString ( ) ;
url . searchParams . set ( 'redirect_uri' , callbackUrl ) ;
url . searchParams . set ( 'scope' , 'openid profile email' ) ;