Auth0 Home Blog Docs

Auth0 and HostedPages

login
#1

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:

http://localhost:3000/callback#access_token=xxxxx&expires_in=xxxx&token_type=Bearer&state=xxxxxx&id_token=xxxxxxx.xxxxxxxxxxxxxxx

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?