Laravel Sanctum with Socialite
Earlier I have written, How to use Laravel Sanctum and user authentication using API
Now, I'm going to a...
For further actions, you may consider blocking this person and/or reporting abuse
How can we test it using postman, please answer.
I'm not sure, How to test using Postman.
You need at least one sample html page with some google js code
I'll send you git repo, you can download
Hi Sidhhu,
It's a nice article and thanks for this. I will use this to my new project. As others, I am also curious about the test code and so, is it possible to share the github repo to me too?
Thanks in advance!
Sure, I'll share
github.com/siddhuphp/laravel_sanctum
in this way I can not authenticate with a frontend made in react
Check this dev.to/medilies/laravel-spa-oauth-...
Thank for this article.
I can see the call back returns a JSON response, will the response be displayed to the end user on it's browser ?
I am wondering if we should display the response or redirect or something mon user friendly.
In this example you show generated access token in browser to end-user via headers. How can I transfer this token to frontend application for further authentications of API requests to my server?
I demonstrated that here dev.to/medilies/laravel-spa-oauth-...
i use two domains one api.beta.website second beta.website. when I make a request through the beta on the socialite it gives errors
what error that you are facing?
I make a request through the beta domain to api.beta and there is a request on Google and there is a cors error
Understood, this will help you out. medium.com/@martinsOnuoha/fix-cors...
I would love to implement Socialite for blog posts not for admin dashboard, I have lost my way how to implement.
Thanks in advance
You can follow above mentioned steps, if you stuck or doubt anywhere. Pls comment here.
I'll try to provide solutions to my best
Thank you!
How i can using socilaite login in frontend reactjs, nextjs _project