Because we don't want our Passport client_secret exposed, so we are sending it with a proxy that's made in our backend along with the credentials that came from our frontend.
client_secret
[code] $params = array_merge([ 'client_id' => config('services.passport.password_client_id'), 'client_secret' => config('services.passport.password_client_secret'), 'scope' => '*', ], $params); [code]
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Because we don't want our Passport
client_secret
exposed, so we are sending it with a proxy that's made in our backend along with the credentials that came from our frontend.