-
Notifications
You must be signed in to change notification settings - Fork 3
Authentication
Lily Howan edited this page Oct 23, 2022
·
5 revisions
Authentication Providers in NextAuth.js are OAuth definitions that allow users to sign in with their favourite pre-existing logins. You can use any of the many predefined providers or write your own custom OAuth configuration - https://next-auth.js.org/configuration/providers/oauth
This is preferred over standard email:password management as we no longer have to worry about the safety of storing and transmitting sensitive data. It also offloads any personal updates (e.g. profile picture or name) to the third-party services.
We currently implement the following providers:
-
Google
- Domain/organisation restrictions are possible, such as disallowing any non
@aucklanduni.ac.nz
Google account
- Domain/organisation restrictions are possible, such as disallowing any non
It is also possible to extend the SSO openId sign-on to integrate with syntax - https://next-auth.js.org/configuration/providers/oauth#using-a-custom-provider