This commit is contained in:
parent
9623053bcf
commit
37f244e46b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue