2020-09-23 15:47:30 -05:00
|
|
|
import nextAuthApiRoute from 'lib/next-auth-utils/config'
|
|
|
|
|
|
|
|
|
|
export default (req, res) =>
|
|
|
|
|
nextAuthApiRoute(
|
|
|
|
|
req,
|
|
|
|
|
res
|
|
|
|
|
)({
|
2020-09-25 14:12:35 -05:00
|
|
|
environments: { production: ['Okta', 'Auth0'], preview: ['Okta', 'Auth0'] },
|
2020-09-23 15:47:30 -05:00
|
|
|
pages: {
|
|
|
|
|
error: '/signin-error', // Error code passed in query string as ?error=
|
|
|
|
|
},
|
|
|
|
|
})
|