File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
backend/plugin/oauth2/api/v1 Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -44,4 +44,6 @@ async def github_login(
4444 user = user ,
4545 social = UserSocialType .github ,
4646 )
47- return RedirectResponse (url = f'{ settings .OAUTH2_FRONTEND_REDIRECT_URI } ?access_token={ data .access_token } ' )
47+ return RedirectResponse (
48+ url = f'{ settings .OAUTH2_FRONTEND_REDIRECT_URI } ?access_token={ data .access_token } &session_uuid={ data .session_uuid } '
49+ )
Original file line number Diff line number Diff line change @@ -47,4 +47,6 @@ async def linux_do_login(
4747 user = user ,
4848 social = UserSocialType .linux_do ,
4949 )
50- return RedirectResponse (url = f'{ settings .OAUTH2_FRONTEND_REDIRECT_URI } ?access_token={ data .access_token } ' )
50+ return RedirectResponse (
51+ url = f'{ settings .OAUTH2_FRONTEND_REDIRECT_URI } ?access_token={ data .access_token } &session_uuid={ data .session_uuid } '
52+ )
You can’t perform that action at this time.
0 commit comments