[Website] Add Auth (#417)

* Initial auth commit

* Add Auth0 to preview env config

* Proper website package name
This commit is contained in:
Jimmy Merritello authored and GitHub committed 2020-09-23 15:47:30 -05:00
1 parent 3bd008a118
commit ba9f6b2cd6
17 files changed
+831 -34

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import nextAuthApiRoute from 'lib/next-auth-utils/config'
export default (req, res) =>
nextAuthApiRoute(
req,
res
)({
environments: { production: ['Okta'], preview: ['Okta', 'Auth0'] },
pages: {
error: '/signin-error', // Error code passed in query string as ?error=
},
})