Calling A Secured Rest Api From Javascript Without User Login Screen
How would you call the secured REST api from the Javascript script application that doesn't have the login? I have a Javascript application (React) that doesn't have a user login
Solution 1:
What you are doing is the proper approach. It keeps all the Oauth tokens secure on your server without having to expose them client side.
That is the main reason most Oauth2 API's don't implement CORS
Post a Comment for "Calling A Secured Rest Api From Javascript Without User Login Screen"