OIDC with ADFS #4491
Replies: 4 comments 1 reply
-
Exactly the same issue with ADFS |
Beta Was this translation helpful? Give feedback.
-
Could anybody manage outline OIDC working with ADFS? Any help is appreciated. Is there any option to debug OIDC messages? |
Beta Was this translation helpful? Give feedback.
-
Looks like it's something related to https://serverfault.com/questions/1109792/setting-up-oidc-with-adfs-invalid-userinfo-request |
Beta Was this translation helpful? Give feedback.
-
Anyone found a solution to this? Banging my head against this problem for a while now. I'm getting redirected back to outline from ADFS, then the following error: With an invalid token being send: I know its caused by the fact that microsoft deviates from the OIDC spec and requires a 'resource' parameter to be passed during authentication. But as far I can see, is not possible to pass this from outline. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to set up authentication with ADFS 4.0 (Windows Server 2016). I've set up an an application group in adfs with the required scopes and when I try to authenticate I'm redirected to the ADFS host and back to outline after authentication. But then Outline only shows "Authentication failed – we were unable to sign you in at this time. Please try again.". With
docker compose logs
I can see the following error:The OIDC-Config in Outline looks like this:
I'm not sure whats wrong. How can I check why there is an
Unexpected end of JSON
? Is there any debug option to see the actual userinfo-response? Do I need to add a specific claim transformation? Has someone got it working with ADFS?I've seen the discussion #2716 with a similar error message, but the solutions there (removing
ALLOWED_DOMAINS
from env and definingOIDC_SCOPES
without quotes) didn't help as I don't haveALLOWED_DOMAINS
set at all andOIDC_SCOPES
don't have quotes as per example env file.EDIT:
I've enabled the debug log of ADFS and get the following log entries when trying to log into outline:
Beta Was this translation helpful? Give feedback.
All reactions