"Unable to issue redirect for OAuth 2.0 transaction" using a database connection

I’ve been following the quickstart guide for adding Auth0 authentication to a single page Vue app. I’m able to login using the Google social connection, however when I try to login using a username and password, I’m redirected to:

https://mydomain.auth0.com/login/callback

and receive the error:

Unable to issue redirect for OAuth 2.0 transaction

I’ve attached the Auth0 server logs below. Any help is greatly appreciated!

{
“date”: “2019-10-11T02:24:21.907Z”,
“type”: “f”,
“description”: “Unable to issue redirect for OAuth 2.0 transaction”,
“connection”: “Username-Password-Authentication”,
“connection_id”: “con_vU6hNnsG2pGxNtbj”,
“client_id”: “MGjZaCrKUeKmEyC19VQ3Y7mx0P1E0BMa”,
“client_name”: “My App Name”,
“ip”: “103.137.12.166”,
“user_agent”: “Chrome 77.0.3865 / Mac OS X 10.14.3”,
“details”: {
“body”: {
“wa”: “wsignin1.0”,
“wresult”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ1c2VyX2lkIjoiNWQ5YWNlNTk4ZTM1MDAwZGZjYzBjM2VjIiwiZW1haWwiOiJqZXNzZS5hLnJlaWxseUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwic2lkIjoiMENMX0lrWm9NdlVHWTVrNWJtbm5WVTRnMHlpSEQ3WkMiLCJpYXQiOjE1NzA3NjA2NjEsImV4cCI6MTU3MDc2MDcyMSwiYXVkIjoidXJuOmF1dGgwOm1hcHRlcnJpdG9yaWVzOlVzZXJuYW1lLVBhc3N3b3JkLUF1dGhlbnRpY2F0aW9uIiwiaXNzIjoidXJuOmF1dGgwIn0.YIkYTR5PbvSVCYlgF4DmiuxamZ4HKRsjyegYC0sRIJf0c19pcK-uIqlLcThYFW5YE-7jnbVn1BGuFL-dj9EEkQEzhbi-30hAJngRNc6gLUo5GDcjOFIJ3mheVe0UcHboj1o2BqSw6FkljV0sEqMP3sP5a65K4P5qpbR59t13jik”,
“wctx”: “{"strategy":"auth0","auth0Client":"eyJuYW1lIjoiYXV0aDAtc3BhLWpzIiwidmVyc2lvbiI6IjEuMi40IiwiZW52Ijp7ImxvY2suanMtdWxwIjoiMTEuMTYuMyIsImF1dGgwLmpzLXVscCI6IjkuMTEuMiJ9fQ==","tenant":"myorganization","connection":"Username-Password-Authentication","client_id":"MGjZaCrKUeKmEyC19VQ3Y7mx0P1E0BMa","response_type":"code","response_mode":"query","scope":"openid profile email","protocol":"oauth2","redirect_uri":"http://localhost:8080","state":"g6Fo2SBoSVRGTnhUa09aaHhiTFgwenVWNGZvWlg1Z0VDMnJJb6N0aWTZIE1Rc0Q5TGRBLUN6TGJHZzdJQldLN1NIdzQtRHJmZGk1o2NpZNkgTUdqWmFDcktVZUttRXlDMTlWUTNZN214MFAxRTBCTWE","nonce":"ziRkTJt5Uk-Nt2YnXws~Kk4CTgUCg7Nds6zy_J_Fa~q","sid":"0CL_IkZoMvUGY5k5bmnnVU4g0yiHD7ZC","realm":"Username-Password-Authentication","session_user":"5d9fe7d5903b2f0d555a0525"}”
},
“qs”: {},
“connection”: “Username-Password-Authentication”,
“error”: {
“message”: “Unable to issue redirect for OAuth 2.0 transaction”,
“oauthError”: “server_error”,
“type”: “oauth-authorization”
},
“session_id”: “2FRZgDL6ZtN2eYiRSBWm-W4L16HY5JGs”
},
“hostname”: “mydomain.auth0.com”,
“user_id”: “abc123”,
“user_name”: “myemail@example.com”,
“strategy”: “auth0”,
“strategy_type”: “database”,
“audience”: “https://mydomain.auth0.com/userinfo”,
“scope”: [
“openid”,
“profile”,
“email”
],
“log_id”: “90020191011022423202000595004361040052065859195176484962”,
“_id”: “90020191011022423202000595004361040052065859195176484962”,
“isMobile”: false
}

Guys, I’m getting the same error!

In my case there was a typo somewhere in my code - copying and pasting from the Qikstart guide fixed the issue.

1 Like

Perfect! Glad to hear that!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.