Auth0 and HostedPages

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?

Hey there!

Terribly sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes our bandwidth is just not enough for all the questions that are coming in. Sorry for the inconvenience!

Do you still require further assistance from us?