#1645 forgot the workaround ?LoginO365 to /LoginO365

This commit is contained in:
the-djmaze 2024-07-02 13:22:59 +02:00
parent f49f606b0e
commit acaa5bae55

View file

@ -5,7 +5,7 @@
document.location = 'https://login.microsoftonline.com/'+tenant+'/oauth2/v2.0/authorize?' + (new URLSearchParams({
response_type: 'code',
client_id: client_id,
redirect_uri: document.location.href + '?LoginO365',
redirect_uri: document.location.href.replace(/\/$/, '') + '/LoginO365',
scope: [
// Associate personal info
'openid',