maybe got ms integration working

This commit is contained in:
Khalim Conn-Kowlessar 2024-09-10 16:32:11 +01:00
parent 6da2fd1748
commit 0e3c025f4f

View file

@ -40,7 +40,7 @@ export const AuthOptions: NextAuthOptions = {
primaryUserFlow: AZURE_AD_B2C_PRIMARY_USER_FLOW,
authorization: {
params: {
scope: `https://${process.env.AZURE_AD_B2C_TENANT_NAME}.onmicrosoft.com/api/demo.read https://${process.env.AZURE_AD_B2C_TENANT_NAME}.onmicrosoft.com/api/demo.write offline_access openid`,
scope: "openid profile offline_access",
prompt: "consent",
},
},