Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to external sites with temporary token #112

Open
Max-Levitskiy opened this issue Mar 21, 2020 · 0 comments
Open

Redirect to external sites with temporary token #112

Max-Levitskiy opened this issue Mar 21, 2020 · 0 comments

Comments

@Max-Levitskiy
Copy link
Member

We shouldn't use same token for all sites from security reasons. Also, we want to avoid stilling and using on redirect with a token in GET request param.
We need to create a temporary token and redirect with it. From this temp token, we need to make a request to auth to get a real token for a union. The request should be signed by the union's app id and secret. From auth backend side we check if the token is correct and generate a new token for the union.
For the implementation of this functionality, we need to add information about union token was generated for in token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant