[Website] Add Auth (#417)
* Initial auth commit * Add Auth0 to preview env config * Proper website package name
This commit is contained in:
1 parent
3bd008a118
commit
ba9f6b2cd6
17 files changed
+831
-34
No files matched your search
@@ -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=
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user