开发者

Handle server side redirection on react application

开发者 https://www.devze.com 2022-12-07 17:10 出处:网络
CUrrently I have a react application with the login done with OAuth2 Authorization Code PKCE flow in the back-end. on successfully submitting the login credentials the server redirects to a redirectUR

CUrrently I have a react application with the login done with OAuth2 Authorization Code PKCE flow in the back-end. on successfully submitting the login credentials the server redirects to a redirectURI with the authorization code as a url parameter. currently I have a created a matching route in the front-end, but the redirection is not happening. Is there any possible way to handle this redirection from t开发者_如何学Pythonhe front-end using react?

Below is the ss of the requests

Handle server side redirection on react application

I tried few libraries used to get the token after login, but none of them worked.

0

精彩评论

暂无评论...
验证码 换一张
取 消