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

OAuth with basic authentication #14

Open
BlackTurtle123 opened this issue Mar 12, 2018 · 1 comment
Open

OAuth with basic authentication #14

BlackTurtle123 opened this issue Mar 12, 2018 · 1 comment

Comments

@BlackTurtle123
Copy link

Hello,
I am trying to get this working with OAuth and basic authentication.
So the client should be able to send a basic auth header in the token request, if I am correct this isn't implemented yet?
Can you confirm? If it's implemented, any example how to do this?

@0xMatt
Copy link
Owner

0xMatt commented Mar 13, 2018

The only opinionated functionality this library provides is that we set your response from a successful authentication request in local storage(which will change later).

If you are wanting to attach a token you've obtained after succesfully authenticating with your API you will need to manually do so with a request interceptor. There is an example in the readme demonstrating how to do so, but it seems there is an error as there is no space between the token type and token itself so you may want to add that.

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