Answer the question
In order to leave comments, you need to log in
Is it safe to hardcode client_secret on the Vue front?
I am working with laravel passport for the first time, implementing the login procedure. The question arose: is it possible to hardcode client_secret on the front for subsequent sending along with the data entered by the user? They say it's unsafe. Answer, please, who is more experienced.
Answer the question
In order to leave comments, you need to log in
For authorization on the front, you can use Implicit Grant , there is no point in complicating the procedure, since it client_secret
is very simple to get from the request.
But what's the point in that? Might be worth reading about the purpose of OAuth authorization?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question