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

Event signin endpoint for nonaffiliates #38

Closed
godwinpang opened this issue Aug 6, 2020 · 0 comments · Fixed by #44
Closed

Event signin endpoint for nonaffiliates #38

godwinpang opened this issue Aug 6, 2020 · 0 comments · Fixed by #44
Assignees

Comments

@godwinpang
Copy link
Contributor

endpoint: /event/:id/signin
endpoint should be optionally protected depending on isAffiliate bool
params: isAffiliate: bool

sample call: curl -X POST /event/:id/signin?isAffiliate=true
if isAffiliate is true, check their token.
else, check their email and return error if they already have an account (can just check against appuser table)

edit: sorta blocked until we do backend auth but can write code w/o auth for now

@godwinpang godwinpang added the blocked Blocked by external issues label Aug 6, 2020
@thai-truong thai-truong self-assigned this Aug 10, 2020
@godwinpang godwinpang linked a pull request Aug 16, 2020 that will close this issue
@godwinpang godwinpang removed the blocked Blocked by external issues label Aug 16, 2020
@godwinpang godwinpang changed the title Event signin endpoint Event signin endpoint for nonaffiliates Aug 16, 2020
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

Successfully merging a pull request may close this issue.

2 participants