Skip to content

chore(api): Allow custom ITokenProvider implementation to support header modification - #1001

Closed
dennisoehme wants to merge 1 commit into
smartive:nextfrom
dennisoehme:patch-1
Closed

chore(api): Allow custom ITokenProvider implementation to support header modification#1001
dennisoehme wants to merge 1 commit into
smartive:nextfrom
dennisoehme:patch-1

Conversation

@dennisoehme

Copy link
Copy Markdown
Collaborator

Currently, the ITokenProvider interface is public, but its required method CreateHandler() is internal, which prevents consumers from creating their own implementations outside of the Zitadel.Net assembly.

I need to create a custom provider so I can modify the underlying HTTP client, specifically to adjust header parameters for authentication or other scenarios.

Please consider making CreateHandler() public or providing an alternative extensibility mechanism so developers can implement custom token providers and modify client behavior as needed.

@dennisoehme dennisoehme changed the title Allow custom ITokenProvider implementation to support header modifica… Allow custom ITokenProvider implementation to support header modification Oct 6, 2025
@dennisoehme dennisoehme changed the title Allow custom ITokenProvider implementation to support header modification chore(api): Allow custom ITokenProvider implementation to support header modification Apr 27, 2026
@dennisoehme
dennisoehme enabled auto-merge (rebase) April 27, 2026 20:49
@dennisoehme
dennisoehme changed the base branch from main to next June 8, 2026 16:57
…tion

Currently, the ITokenProvider interface is public, but its required method CreateHandler() is internal, which prevents consumers from creating their own implementations outside of the Zitadel.Net assembly.
@dennisoehme
dennisoehme disabled auto-merge June 8, 2026 16:58
Copilot AI added a commit that referenced this pull request Jun 8, 2026
Fixes SA1615 (add <returns> XML doc to CreateHandler) and SA1518
(ensure file ends with exactly one newline). Also changes the method
visibility from internal to public as intended by PR #1001 to allow
custom ITokenProvider implementations outside the Zitadel.Net assembly.
dennisoehme pushed a commit that referenced this pull request Jun 8, 2026
Fixes SA1615 (add <returns> XML doc to CreateHandler) and SA1518
(ensure file ends with exactly one newline). Also changes the method
visibility from internal to public as intended by PR #1001 to allow
custom ITokenProvider implementations outside the Zitadel.Net assembly.
dennisoehme pushed a commit that referenced this pull request Jun 8, 2026
Fixes SA1615 (add <returns> XML doc to CreateHandler) and SA1518
(ensure file ends with exactly one newline). Also changes the method
visibility from internal to public as intended by PR #1001 to allow
custom ITokenProvider implementations outside the Zitadel.Net assembly.
@dennisoehme

Copy link
Copy Markdown
Collaborator Author

merged in #1017

@dennisoehme dennisoehme closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant