I am having an issue with Auth0 and the callback. If I enable 'Customize Login Page' for Auth0's hosted page I get a callback url that looks something like this:
http://localhost:3000/callback?code=xxxxx&state=xxxx.xxxx
But if I disable the 'Customize Login Page,' I get a callback url that looks something like this:
I couldn't find anything in documentation for this behavior. I would prefer it to behave it as the latter. Can anyone point me in the right direction?
I found the solution. When the Login Page is customized, the, responseType is set to 'code' by default. It needs to be set to
responseType: 'token id_token'
I was testing with a Google account. I'm not sure whether it behaves differently with other account types.