Skip to content

Conversation

Threated
Copy link

Details

This PR implements the OAuth logic for old self hosted ADFS login providers.
These providers can't use the generic OIDC flow because their userinfo endpoint requires a different token with an aud claim of urn:microsoft:userinfo. From what I have seen other IdPs such as keycloak therefore just ignore this endpoint and use the info from the user token.

closes #9973
maybe also #5361 and some other issue when searching for adfs but many of the don't have enough info to tell


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@Threated Threated requested review from a team as code owners October 10, 2025 14:18
Copy link

netlify bot commented Oct 10, 2025

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit b1913ac
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/68e915c98d29c30008610f1b
😎 Deploy Preview https://deploy-preview-17383--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Oct 10, 2025

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit b1913ac
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/68e915c999879200076969f8
😎 Deploy Preview https://deploy-preview-17383--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Oct 10, 2025

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit b1913ac
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/68e915c975b08b0008830887
😎 Deploy Preview https://deploy-preview-17383--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

authentik/ADFS: Authentication failed: Could not retrieve profile.

1 participant