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(
44
44
user = user ,
45
45
social = UserSocialType .github ,
46
46
)
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(
47
47
user = user ,
48
48
social = UserSocialType .linux_do ,
49
49
)
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