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

Token verification requires 'Bearer ' in front of token #2

Closed
bcomnes opened this issue Aug 4, 2014 · 0 comments
Closed

Token verification requires 'Bearer ' in front of token #2

bcomnes opened this issue Aug 4, 2014 · 0 comments

Comments

@bcomnes
Copy link

bcomnes commented Aug 4, 2014

Right now, token verification requires Bearer in front of token otherwise the server returns 400. For tokens found in a body request, there is no Bearer in front of it and it has to be prepended upon discovery by the micropub endpoint.

What is the proper place for Bearer to be pretended? Should the micropub endpoint do it? Should the client do it? Or should the Token endpoint do it upon receiving a token without a Bearer prefix? Or should the token endpoint simply just check tokens without the prefix?

@bcomnes bcomnes changed the title Token verification requires Bearer in front of token Token verification requires 'Bearer ' in front of token Aug 4, 2014
@bcomnes bcomnes closed this as completed Dec 20, 2016
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

1 participant