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

CTFTime OAuth redirect to /registration #201

Open
chen-robert opened this issue Apr 15, 2020 · 0 comments
Open

CTFTime OAuth redirect to /registration #201

chen-robert opened this issue Apr 15, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@chen-robert
Copy link
Member

Ideally this would redirect to /registration while passing the token through using history state, however preact-router does not support attaching state (in JS) to a history entry. We can still implement this by implementing a state store using context and invalidate on any route change, which is enough to implement this.

Originally posted by @ethanwu10 in #200

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

No branches or pull requests

2 participants