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

Allow overriding Bearer/Digest Authorization tags #732

Closed
Badgerati opened this issue Apr 9, 2021 · 0 comments · Fixed by #733
Closed

Allow overriding Bearer/Digest Authorization tags #732

Badgerati opened this issue Apr 9, 2021 · 0 comments · Fixed by #733
Assignees
Milestone

Comments

@Badgerati
Copy link
Owner

Describe the Change

Like with Basic authentication, the tag in the Authorization header can be changed. For Bearer and Digest authentication, this isn't the case, and it sometimes you might need Bearer to be "api-key" instead.

Therefore, on New-PodeAuthScheme the -HeaderTag should be extended to Bearer and Digest - and it's default set to blank (this default does nothing anyway!).

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

Successfully merging a pull request may close this issue.

1 participant