In order for this to work we need to make a proxy that will make request to our own API. It might seems confusing at first but once we're done it will make perfect sense.
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.
Sorry for newbs question. What is that proxy for?
In order for this to work we need to make a proxy that will make request to our own API. It might seems confusing at first but once we're done it will make perfect sense.
Still don't understand it.
Thank you
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.