I have a working Next/NextAuth/Auth0 app that I am trying to run locally using Fauna Dev. Right now I’m running into an issue getting fauna to recognize my auth0 provider id.
After creating an Auth0 provider in Fauna Dev I noticed it seems to always have an audience of
https://db.fauna.com/db/yyyyyyyyyyyyy so I’ve created a new API in Auth0 to support that local audience.
I can successfully log in using Auth0 so there is no issue there and after login NextAuth properly creates local Account and User entries so the app is connecting to the local Fauna Dev.
The only issue is right at the end I get
Unauthorized when I run
When I was originally setting this up to run against real fauna I would get this error when I forgot to set the right domain or set the right audience in the auth0 login. But I have both of those this time - I think - so rather then bang my head against this anymore I wanted to confirm it is even supported right now.
So, is Auth0 supported when using Fauna Dev?