diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts index fac476e3d72e90cbb8435776ac94cb377ba9a452..32e8c6e6afecb3c63e0642ee173539256ac022ba 100644 --- a/pages/api/auth/[...nextauth].ts +++ b/pages/api/auth/[...nextauth].ts @@ -8,7 +8,7 @@ const issuer = 'https://keycloak.sso.gwdg.de/auth/realms/academiccloud' async function refreshAccessToken (token: any) { try { const url = - issuer + '/protocol/openid-connect/token?' + + issuer + '/protocol/openid-connect?' + new URLSearchParams({ client_id: clientId, client_secret: clientSecret,