Skip to content

SAML ACS URL does not support dynamic query params #14493

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

Open
MDXDave opened this issue May 13, 2025 · 0 comments
Open

SAML ACS URL does not support dynamic query params #14493

MDXDave opened this issue May 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@MDXDave
Copy link

MDXDave commented May 13, 2025

Describe the bug
I have been using Authentik with Weblate for several years.
Recently the login behavior was changed.
The ACS URL is extended by an authid, which leads to an error in Authentik:

ACS URL of https://weblate.company/accounts/complete/saml/?authid=WyJuam... doesn't match provider ACS URL of https://weblate.company/accounts/complete/saml/.

Unfortunately it is currently not possible to set an regex as the ACS url (like the OAuth2/OpenID provider).

It seems they introduced the query param on 1st of april: WeblateOrg/weblate@1a1e3c8#diff-ab61877cda054d398281dba30e248bfde11f66869b7b356ef05e25cc51127003

To Reproduce
Steps to reproduce the behavior:

  1. Configure Authentik with Weblate 5.10.4.0.
  2. Login via SAML
  3. Upgrade Weblate to 5.11.4.0
  4. See error

Expected behavior
The login should work without any issue.

Screenshots

Image

Logs

Context
{
    "message": "ACS URL of https://weblate.XXXX/accounts/complete/saml/?authid=WyJuamRteXJXXXXXXXXXDjubEioZzE doesn't match Provider ACS URL of https://weblate.XXXXX/accounts/complete/saml/.",
    "provider": {
        "pk": 7,
        "app": "authentik_providers_saml",
        "name": "Weblate SAML",
        "model_name": "samlprovider"
    }
}
User
{}

Version and Deployment (please complete the following information):

  • authentik version: 2025.4.0
  • Deployment: docker-compose
@MDXDave MDXDave added the bug Something isn't working label May 13, 2025
@MDXDave MDXDave changed the title SAML ACS_URL do not support query params SAML ACS_URL does not support query params May 13, 2025
@MDXDave MDXDave changed the title SAML ACS_URL does not support query params SAML ACS URL does not support query params May 13, 2025
@MDXDave MDXDave changed the title SAML ACS URL does not support query params SAML ACS URL does not support dynamic query params May 13, 2025
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

No branches or pull requests

1 participant