Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Federation & Social Logins // OAuth - Azure AD // Unable to save settings #7972

Closed
jt721 opened this issue Dec 22, 2023 · 4 comments · Fixed by #8147
Closed

Federation & Social Logins // OAuth - Azure AD // Unable to save settings #7972

jt721 opened this issue Dec 22, 2023 · 4 comments · Fixed by #8147
Labels
bug Something isn't working

Comments

@jt721
Copy link

jt721 commented Dec 22, 2023

Describe the bug
See #7744
Problem still exists with release 2023.10.5

To Reproduce
Steps to reproduce the behavior:
See #7744

Neither on initial save or update afterwards 'Authorization URL', 'Access token URL ' and 'Profile URL' are changed

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
Seem fine
server:
2023-12-22 11:30:41 {"action": "model_updated", "auth_via": "session", "client_ip": "172.18.0.1", "context": {"http_request": {"args": {}, "method": "PATCH", "path": "/api/v3/sources/oauth/azure-ad/", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0"}, "model": {"app": "authentik_sources_oauth", "model_name": "oauthsource", "name": "azure ad", "pk": "bda8c9beeac54e5495c8270838e7a797"}}, "event": "Created Event", "host": "localhost:8044", "level": "info", "logger": "authentik.events.models", "pid": 40, "request_id": "ff436debac13400e94274999b5f5d06d", "timestamp": "2023-12-22T10:30:41.555035", "user": {"email": "admin@compose-stack.seven2one.de", "pk": 3, "username": "Admin"}}
2023-12-22 11:30:41 {"auth_via": "session", "event": "Task published", "host": "localhost:8044", "level": "info", "logger": "authentik.root.celery", "pid": 40, "request_id": "ff436debac13400e94274999b5f5d06d", "task_id": "4ebe0d05335f4700b8c0871d6f10235c", "task_name": "authentik.events.tasks.event_notification_handler", "timestamp": "2023-12-22T10:30:41.568890"}
2023-12-22 11:30:41 {"auth_via": "session", "event": "/api/v3/sources/oauth/azure-ad/", "host": "localhost:8044", "level": "info", "logger": "authentik.asgi", "method": "PATCH", "pid": 40, "remote": "172.18.0.1", "request_id": "ff436debac13400e94274999b5f5d06d", "runtime": 396, "scheme": "http", "status": 200, "timestamp": "2023-12-22T10:30:41.572086", "user": "Admin", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0"}

Version and Deployment (please complete the following information):

  • authentik version: 2021.10.5
  • Deployment: docker-compose, helm

Additional context

@jt721 jt721 added the bug Something isn't working label Dec 22, 2023
@BeryJu
Copy link
Member

BeryJu commented Dec 22, 2023

Try the steps from #7744 (comment)

@CyB0rgg
Copy link

CyB0rgg commented Jan 2, 2024

@BeryJu do we have a timeline of merging that into stable ? I am reluctant to diverge from stable branch as last time I have done it I have ended up reinstalling from scratch as the update from beta to stable broke things severely. Thanks !

@BeryJu
Copy link
Member

BeryJu commented Jan 2, 2024

ghcr.io/goauthentik/dev-server:gh-version-2023.10 is not the beta version, it is the latest build of the version-2023.10 branch which is bugfixes cherry-picked on top of 2023.10.5

however there will most likely also be a new 2023.10 release

@CyB0rgg
Copy link

CyB0rgg commented Jan 11, 2024

Updated to 10.6 but still seems not to be saving the URLs correctly - cuts out the tenant ID from the authorization and access token url. It does not spit the error anymore, but just comes back to this screen after the Azure auth:

Screenshot 2024-01-11 at 11 03 52

For some reason despite being authorised in Entra, it goes back to the enrollment flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants