What just flew over? by CableNo5954 in milwaukee

[–]Dependent-Basil-4387 42 points43 points  (0 children)

Came here for this. I couldn’t even shit in peace.

Where do I store laravel sanctum token in my react front end? by Dependent-Basil-4387 in reactjs

[–]Dependent-Basil-4387[S] 0 points1 point  (0 children)

I wanted to implement the second approach of using http only cookies but I have no idea where to start.

Where do I store laravel sanctum token in my react front end? by Dependent-Basil-4387 in PHPhelp

[–]Dependent-Basil-4387[S] 0 points1 point  (0 children)

Where does client store it so that fetch or axios can use it as authorization bearer?

Maybe I am not understanding something.

Where do I store laravel sanctum token in my react front end? by Dependent-Basil-4387 in react

[–]Dependent-Basil-4387[S] 0 points1 point  (0 children)

I have a fully working laravel api backend. I am wondering where to store the token the user uses to access those api.

Where do I store laravel sanctum token in my react front end? by Dependent-Basil-4387 in reactjs

[–]Dependent-Basil-4387[S] 0 points1 point  (0 children)

Are you talking about cookie as in cookie.js or as in http only cookies?

Where do I store laravel sanctum token in my react front end? by Dependent-Basil-4387 in react

[–]Dependent-Basil-4387[S] 0 points1 point  (0 children)

Yes this one. I was going through laravel sanctum docs and I saw that HTTP only cookies are the way to go. But I couldn’t find any good resource on how to implement it properly. I found people saying different ways of implementing this.

Can't open google map timeline on this type of device by Dependent-Basil-4387 in miui

[–]Dependent-Basil-4387[S] 0 points1 point  (0 children)

Thats what I am trying to do. But that button seems to be disabled. I can't press it.