Skip to content

Allow injecting a custom AuthProviderFactory to let frameworks own authenticatio #1486

Closed

Description

@mathecruz

Context

Today the SDK owns authentication: when a task has an auth policy, it builds the AuthProvider and performs the OAuth2/OIDC token exchange itself.

When running inside a framework (Quarkus) that already manages identity, the framework should be able to take over and produce the Authorization value, suppressing the SDK's own token exchange.

Proposal

Make AuthProviderFactory pluggable so a custom implementation can be provided, with the current behavior as the default when none custom AuthProviderFactory is registered.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions