Azure AD - Error during authentication #6789
Unanswered
QuentinKK
asked this question in
Self Hosting
Replies: 1 comment 1 reply
-
Weird, you can see the related code here https://github.com/outline/outline/blob/main/plugins/azure/server/auth/azure.ts#L76 It's over three years old and working for thousands of installations 🤔 . Only thing I can think of is there is some sort of proxy between Outline server and Azure that's returning a response, but not the expected JSON. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Impossible to login using Entra ID.
In Entra the connection is shown as successful
Set cookie for /azure is showing the right domain
state=outline.mydomain.example|03XXXXXXXX|web; path=/; expires=Thu, 11 Apr 2024 07:27:29 GMT; domain=outline.mydomain.example; secure; httponly
Error :
{"error":"Cannot read properties of undefined (reading '0')","level":"error","message":"Error during authentication","stack":"TypeError: Cannot read properties of undefined (reading '0')\n at Strategy._verify (/opt/outline/build/plugins/azure/server/auth/azure.js:50:54)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"} {"label":"http","level":"info","message":" --> GET /auth/azure.callback?code=0.XXXXXXXX
https://graph.microsoft.com/v1.0/me
https://graph.microsoft.com/v1.0/organization
Also inserted into the "teams" and "authentication_providers" using an oidc install as a base, but still the same error.
Beta Was this translation helpful? Give feedback.
All reactions