Answer the question
In order to leave comments, you need to log in
How to force the browser to pass the token?
Wrote an HTTP server. It uses domain authentication (LDAP) and then generates two JWT tokens (Accept and Refresh) with different durations, but that's not the point.
After the tokens are generated, how to transfer them to the browser, what is the answer, so that in the future the browser slips these tokens into all requests sent to the server?
Answer the question
In order to leave comments, you need to log in
as soon as you receive the tokens, save them somewhere (cookies, session, etc., at least save it to a file. it all depends on the implementation.) And when you need it, get this data.
You can get this data via JSON. According to the idea, everything rests on your idea.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question