fix token refresh
All checks were successful
/ upload (release) Successful in 1m38s

This commit is contained in:
pavel 2026-02-11 00:00:02 +01:00
commit 37f244e46b

View file

@ -555,7 +555,7 @@ async function handleCallback() {
}
loginBtn.addEventListener('click', () => {
const authUrl = `${AUTH_CONFIG.authorizeEndpoint}?client_id=${AUTH_CONFIG.clientId}&response_type=code&redirect_uri=${encodeURIComponent(AUTH_CONFIG.redirectUri)}&scope=openid profile email`;
const authUrl = `${AUTH_CONFIG.authorizeEndpoint}?client_id=${AUTH_CONFIG.clientId}&response_type=code&redirect_uri=${encodeURIComponent(AUTH_CONFIG.redirectUri)}&scope=openid profile email offline_access`;
window.location.href = authUrl;
});