Open mymasse opened 3 years ago
@braunsonm Feel free to add the more technical details you found
Hey so I took at look at this yesterday.
The usually method would be to encode the redirect URL in the state
parameter in OAuth requests. However you do not have control over this in the bell library, the state is hard-coded. My other idea would be to save the redirect URL as a cookie when you trigger the redirect to /login
here. Then restore that link instead of the hardcoded redirect to /
here.
Version
Steps to reproduce
Expected result
After login get directed to the provided permalink
Actual result
Get redirected to the Space Selector screen