I’ve been going through the walkthrough on Hasura’s site to integrate Auth0 with Hasura, and I’m running into an issue getting the JWT from Auth0 as described in this step. When I load the URL in the browser, it navigates to my login/signup screen, and when i log in, it loads the “ooops, something went wrong!” screen. Monitoring logs show this for an error:
{
"date": "2020-07-05T18:09:18.504Z",
"type": "f",
"description": "Password login via OIDC-conformant clients with externally-hosted login pages is unsupported. Alternatively, login could have been initiated from the wrong place (e.g., a bookmark).",
"connection_id": "",
"ip": "209.6.119.13",
"user_agent": "Chrome 83.0.4103 / Windows 10.0.0",
"details": {
"body": {
"wa": "wsignin1.0",
"wresult": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ1c2VyX2lkIjoiNWVkOTU5NzAwNzkzMDgwMDEzMWZiYzQzIiwiZW1haWwiOiJkeWxhbmVzcXVlMjdAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsInNpZCI6Imp2bDlRR3RXTC0tV1hmd3JydXdRNlFZZDZOQk9yVXBnIiwianRpIjoiNWYwMjE3NGUyZWZhYjEwOTExMTNmMzZlIiwiaWF0IjoxNTkzOTcyNTU4LCJleHAiOjE1OTM5NzI2MTgsImF1ZCI6InVybjphdXRoMDpkZXYteWEzOHZ0bW06VXNlcm5hbWUtUGFzc3dvcmQtQXV0aGVudGljYXRpb24iLCJpc3MiOiJ1cm46YXV0aDAifQ.E8QbdSDSQ-pnlaZsyvPTY4gKnEjL6jkMrlWFWcss2Fw5b5bjxv1e5ITxnRDzfdRjsU5Mlkj0b9t_grtNjG_6Ru5hOq_x4KxBptxkBApfJNzcYpI_P7ZiQLdt0uuY-n82G2zBmjjG6g5el-znAD6O8c6SqutiZ3KQr8u42Il7UGM",
"wctx": "{\"strategy\":\"auth0\",\"auth0Client\":\"eyJuYW1lIjoiYXV0aDAuanMtdWxwIiwidmVyc2lvbiI6IjkuMTMuNCJ9\",\"tenant\":\"dev-ya38vtmm\",\"connection\":\"Username-Password-Authentication\",\"client_id\":\"HQuj4siVaegsaYVl9RoiPMn9rpdewSnM\",\"response_type\":\"code\",\"scope\":\"openid profile\",\"redirect_uri\":\"http://localhost:3000/callback\",\"state\":\"mJjb31V_sloPStFfxdou8PKue3w9ofHC\",\"sid\":\"jvl9QGtWL--WXfwrruwQ6QYd6NBOrUpg\",\"jti\":\"5f02174e2efab1091113f36e\",\"realm\":\"Username-Password-Authentication\",\"session_user\":\"5f02174ed44ed800194645e8\"}"
},
"qs": {},
"error": {
"message": "Password login via OIDC-conformant clients with externally-hosted login pages is unsupported. Alternatively, login could have been initiated from the wrong place (e.g., a bookmark).",
"oauthError": "access_denied",
"type": "oauth-authorization"
}
},
"hostname": "dev-ya38vtmm.auth0.com",
"log_id": "90020200705180919559000689556535552146136819348218576978",
"_id": "90020200705180919559000689556535552146136819348218576978",
"isMobile": false
}
OIDC Dynamic Application Registration is disabled in my Auth0 Settings, I am at a loss as to what the problem could be.