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

Support other kinds of authentication besides Auth0 #21

Open
4 tasks
MoralCode opened this issue Jan 5, 2023 · 0 comments
Open
4 tasks

Support other kinds of authentication besides Auth0 #21

MoralCode opened this issue Jan 5, 2023 · 0 comments

Comments

@MoralCode
Copy link
Owner

it seems as though this ClassClock API may be useful on its own, independent of the client app as a way for applications to have their own generic (non-individualized) way to store school bell schedule data that provides a bonus in terms of interoperability with other apps that are based on a ClassClock-formatted API

Since Auth0 is already fairly standards-based, it shouldn't be too crazy to try and abstract it and allow for other auth providers, such as google (see this tutorial).

This would likely require:

  • documenting the required roles and permissions the API needs
  • decoupling the role and permission strings into some kind of constants file
  • creating a function in each auth class to identify the role of a user since each provider may do it differently
  • TBD
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