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

Bearer token is expected to be capitalized Bearer. #1

Closed
prb112 opened this issue Jan 11, 2022 · 1 comment
Closed

Bearer token is expected to be capitalized Bearer. #1

prb112 opened this issue Jan 11, 2022 · 1 comment

Comments

@prb112
Copy link
Contributor

prb112 commented Jan 11, 2022

Per https://datatracker.ietf.org/doc/html/rfc6750#section-2.1, the Bearer token is expected to be capitalized Bearer.

     b64token    = 1*( ALPHA / DIGIT /
                       "-" / "." / "_" / "~" / "+" / "/" ) *"="
     credentials = "Bearer" 1*SP b64token

In BulkDataClient.ts line 205 the bearer is lower case.

This had an unexpected behavior with Keycloak where it was not parseable as a Token.

I'm raising this as it may be something to be aware of.

@vlad-ignatov
Copy link
Contributor

Fixed by #4

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