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

Add nation membership check functionality #14

Open
RobertMartinis opened this issue Mar 29, 2021 · 2 comments
Open

Add nation membership check functionality #14

RobertMartinis opened this issue Mar 29, 2021 · 2 comments
Labels
api Improvement or changes to the API auth Authentication of users feature New feature

Comments

@RobertMartinis
Copy link
Contributor

We need to authenticate that users are members of a nation, and therefore eligible to attend some events that requires a nation membership.

Proposed methods for authentication:

  • Login via SSO
@Frewacom Frewacom added api Improvement or changes to the API auth Authentication of users feature New feature labels Mar 29, 2021
@McFrappe
Copy link
Member

At this moment, it is possible to check which nation a user is a member of by checking the oid from the response during login. Though functionality for using the oid to check which nation it is a part of is not yet implemented.

@McFrappe
Copy link
Member

McFrappe commented Apr 1, 2021

It is possible though to get a response on which nation by doing /api/v1/nations/:oid/ which gives a response on the nation object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Improvement or changes to the API auth Authentication of users feature New feature
Projects
None yet
Development

No branches or pull requests

3 participants