Answer the question
In order to leave comments, you need to log in
How to pass laravel passport react.js token to application?
I want to use graphql in a new project.
And now I got into the task of creating an authorization.
The question remains, how to pass the react-apollo token on the first page load?
Those. when a person has already logged in to the site and updated the page, I need to get the user token from the blade template in order to pass it to js in the future
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question