Skip to content

Parallel auth broken #6954

@guyguy333

Description

@guyguy333

Describe the bug

When running OIDC auth from multiple Terraform providers in parallel and using same Authentik instance as auth source, it opens multiple browsers tabs (not an issue) and triggers some issues with Terraform parallelism (login in parallel to multiple services at the same time / multiple tabs) and thus generate errors like "Something went wrong! Please try again later.". If I force parallelism to 1 on Terraform, login is done sequentially, and I don't have the issue with Authentik. It's like auth session are mixed between tabs.

To Reproduce

Setup a Terraform module with multiple instance of same providers (alias, in my case Vault provider) and using same Authentik instance as auth source.

Expected behavior

No conflict between sessions

Screenshots

Logs

Version and Deployment (please complete the following information):

  • authentik version: 2023.08.3
  • Deployment: Helm

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug/confirmedConfirmed bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions