From f5f3abbe8786a1b8fc88635709bd952079d949a9 Mon Sep 17 00:00:00 2001 From: eikek Date: Sat, 6 Jan 2024 15:38:33 +0100 Subject: [PATCH] Fix openid example for microsoft The openid scope is now provided by the config. Fix: #1270 --- modules/restserver/src/main/resources/reference.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/restserver/src/main/resources/reference.conf b/modules/restserver/src/main/resources/reference.conf index 5a6c4a9f..4763a904 100644 --- a/modules/restserver/src/main/resources/reference.conf +++ b/modules/restserver/src/main/resources/reference.conf @@ -266,8 +266,8 @@ sharry.restserver { id = "aad" name = "Azure AD" icon = "fab fa-microsoft" - scope = "" - authorize-url = "https://login.microsoftonline.com//oauth2/v2.0/authorize?scope=openid" + scope = "openid" + authorize-url = "https://login.microsoftonline.com//oauth2/v2.0/authorize" token-url = "https://login.microsoftonline.com//oauth2/v2.0/token" user-url = "https://graph.microsoft.com/oidc/userinfo" user-id-key = "email"