You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# optional: Microsoft Entra Id OAuth 2.0 client id, not activated if not set
34
+
# optional: Microsoft Entra ID client id, not activated if not set
35
35
# MICROSOFT_ENTRA_ID_CLIENT_ID=
36
36
37
-
# optional: Microsoft Entra Id OAuth 2.0 client secret, not activated if not set
37
+
# optional: Microsoft Entra ID client secret, not activated if not set
38
38
# MICROSOFT_ENTRA_ID_CLIENT_SECRET=
39
39
40
-
# optional: Microsoft Entra Id OAuth 2.0 client secret, not activated if not set
40
+
# optional: Microsoft Entra ID client secret, not activated if not set
41
41
# MICROSOFT_ENTRA_ID_TENANT_ID=
42
42
43
-
# optional: Microsoft Entra Id OAuth 2.0 administrator group id, activated if not set
43
+
# optional: Microsoft Entra ID administrator group id, activated if not set
44
44
# MICROSOFT_ENTRA_ID_ADMINISTRATOR_GROUP_ID=
45
45
46
+
# Note: For Microsoft Entra ID, you need to:
47
+
# 1. Create an app registration
48
+
# - Go to Azure Portal -> Microsoft Entra ID -> App Registrations -> New Registration
49
+
# - Fill in the name and select the supported account types
50
+
# - Add a "Web" redirect URI: http://localhost:3000/api/users/oauth/microsoft-entra-id/callback
51
+
# - When created, go to API Permissions -> Add a permission -> Microsoft Graph -> Delegated permissions -> Select the ones you need, e.g. email, openid, profile and offline_access -> Add permissions
52
+
# - Optional: If you do not want users to have to give consent to your app everytime they login: Click on Grant admin consent for {tenant} -> Yes
53
+
# - Optional: If you want groups to be part of your token(s), you can go to Token configuration -> Add groups claim -> Select the groups you want to add -> Save
54
+
# - Go to Certificates & secrets -> Client secrets -> New client secret -> Add a description -> Expires -> Add -> Copy the secret (it will only be shown once) -> And save the secret somewhere safe or add it to your .env file
55
+
# You can read a little about registering apps here as well: https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
0 commit comments