What are some ways to guard the routes on the client app with the access token provided by the oauth server?
@phucduong89853 жыл бұрын
why route /callback can not get value of session('state')? help me
@neyneng44443 жыл бұрын
Having the same problem. Have you fixed this? thanks
@phihoang38122 жыл бұрын
You need to config different APP_NAME on server and client in .env config file
@cerori28th2 жыл бұрын
@@phihoang3812 thanks
@chawkimahdi5932 жыл бұрын
@@phihoang3812 omg bro i can't believe that i waste two days on this stupid bug, thank u so much
@bakugansoj9204 Жыл бұрын
What means? @phihoang3812
@wilfreedi3 жыл бұрын
Thank. What to do next? How can I save the received data to a session to use in a project?
@myPHPnotes3 жыл бұрын
Part 3 will be coming in 8 hours. Stay tuned.
@wilfreedi3 жыл бұрын
@@myPHPnotes Thanks, I'm waiting
@mrcocl17072 жыл бұрын
Dear sir, login callback is gooood. How to create register callback?
@JamiulBari2 жыл бұрын
What to do if we want to authorize first-party app? Since we don't need confirmation for first-party app
@balamurugannatarajan70083 жыл бұрын
bro can you tell the version of laravel you are using on
@billeibinabo3 жыл бұрын
How do I redirect to the login page when the session expires.
@leonardoaldino3 жыл бұрын
this is oauth not sso right ? SSO is when we login first client app, second and third app is login too
@dimensikini3 жыл бұрын
Hi, how can I skip/disable the Authorization Request prompt?
@myPHPnotes3 жыл бұрын
Aaah... it is the standard for OAuth2.0 for setting scopes and providing the access token on that behalf. You can tweak with the passport code to bypass it but it is not recommended.
@dimensikini3 жыл бұрын
@@myPHPnotes It seems that I need to authorize the app each time I login instead of one the first time login.
@kenkaneki14753 жыл бұрын
gettin this error: {"error":"unsupported_grant_type","error_description":"The authorization grant type is not supported by the authorization server.","hint":"Check that all required parameters have been provided","message":"The authorization grant type is not supported by the authorization server."}
@diegomisaelr.31823 жыл бұрын
Me too. I'm searching why
@francisndri67753 жыл бұрын
Me too 😩
@FranckGrenier2 жыл бұрын
Hello, any update on this "unsupported_grant_type" error ?
@kenkaneki14752 жыл бұрын
I'm sorry didn't found any solution yet
@FranckGrenier2 жыл бұрын
Ok, I figured it out. My GET request to "/oauth/authorize" did not contain the right "client_id" param. So the OAuth server was not able to get the right client. Also, the "redirect URL" stored in the "oauth_clients" table should match the one you send in the parameters.
@JNET_Reloaded3 жыл бұрын
why laravel crap why ppl using libraries just do it raw php is the best then it works everywhere!