-
Notifications
You must be signed in to change notification settings - Fork 46
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
Retrieve headers token #21
Comments
anyone ? |
Looks like |
If you specify that as your headers, it will log you out. How do I put the headers in and still be able to keep my user logged in? |
@dannymockaitis There's not a lot of detail in your problem description, but it sounds like the headers aren't getting into your request properly, causing a 401 to come back and log you out. Check out the headers in the request you're extracting the tokens for and compare them to the headers j-toker's using in its requests to verify correctness. |
I'm working with the window fetch polyfill library and I'm trying retrieve data from the secure API.
How can I get the tokens that are use for every request in J-Toker and use them with the fetch lib.
Is there any kind of function to do something like that ?
The text was updated successfully, but these errors were encountered: