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

Authorization Header Needs Basic Prefix #1

Closed
Walexander opened this issue May 22, 2024 · 1 comment
Closed

Authorization Header Needs Basic Prefix #1

Walexander opened this issue May 22, 2024 · 1 comment

Comments

@Walexander
Copy link

When using Basic authentication, I get Unauthorized error from the server.

I believe that's because the Authorization: header needs the string "Basic " before the base64 string.
https://github.com/oslo-project/oauth2/blob/main/src/request.ts#L26

@pilcrowOnPaper
Copy link
Contributor

Sorry about the late response, I forgot to click "Watch" on all Oslo repos. Should be fixed now!

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

No branches or pull requests

2 participants