Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants