K
K
KirylLapouski2018-05-21 14:22:57
Node.js
KirylLapouski, 2018-05-21 14:22:57

How to return value after redirect?

You need to add social login. networks through the AOouth token. But, after the user accepts access rights for the application, there is a redirect to the page specified during application registration. Therefore, it will not work to get a token through a regular request. How to get around this and send the logged in user's token to the client?
The web application is written in react, so I send the login request from the react component and all routing is written on the client.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question