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

**URL:** <https://community.auth0.com/t/unable-to-issue-redirect-for-oauth-2-0-transaction-using-a-database-connection/32173>\
**Category:** Get Help\
**Created:** [October 11, 2019, 2:57am UTC](https://community.auth0.com/t/unable-to-issue-redirect-for-oauth-2-0-transaction-using-a-database-connection/32173 "2019-10-11T02:57:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesse.a.reilly](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jesse.a.reilly/32/16663_2.png) [@jesse.a.reilly](https://community.auth0.com/u/jesse.a.reilly)\
**Post date:** [October 11, 2019, 2:57am UTC](https://community.auth0.com/t/unable-to-issue-redirect-for-oauth-2-0-transaction-using-a-database-connection/32173/1 "2019-10-11T02:57:53Z")

</div>

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](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](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](http://mydomain.auth0.com)”,  
> “user\_id”: “abc123”,  
> “user\_name”: “[myemail@example.com](mailto:myemail@example.com)”,  
> “strategy”: “auth0”,  
> “strategy\_type”: “database”,  
> “audience”: “[https://mydomain.auth0.com/userinfo](https://mydomain.auth0.com/userinfo)”,  
> “scope”: [  
> “openid”,  
> “profile”,  
> “email”  
> ],  
> “log\_id”: “90020191011022423202000595004361040052065859195176484962”,  
> “\_id”: “90020191011022423202000595004361040052065859195176484962”,  
> “isMobile”: false  
> }

---

<div class="post-metadata">

**Author:** ![gabriel2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gabriel2/32/21693_2.png) [@gabriel2](https://community.auth0.com/u/gabriel2)\
**Post date:** [June 2, 2020, 9:30pm UTC](https://community.auth0.com/t/unable-to-issue-redirect-for-oauth-2-0-transaction-using-a-database-connection/32173/2 "2020-06-02T21:30:23Z")

</div>

Guys, I’m getting the same error!

---

<div class="post-metadata">

**Author:** ![jesse.a.reilly](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jesse.a.reilly/32/16663_2.png) [@jesse.a.reilly](https://community.auth0.com/u/jesse.a.reilly)\
**Post date:** [June 3, 2020, 3:49am UTC](https://community.auth0.com/t/unable-to-issue-redirect-for-oauth-2-0-transaction-using-a-database-connection/32173/3 "2020-06-03T03:49:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 3, 2020, 10:51am UTC](https://community.auth0.com/t/unable-to-issue-redirect-for-oauth-2-0-transaction-using-a-database-connection/32173/4 "2020-06-03T10:51:06Z")

</div>

Perfect! Glad to hear that!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 18, 2020, 10:51am UTC](https://community.auth0.com/t/unable-to-issue-redirect-for-oauth-2-0-transaction-using-a-database-connection/32173/5 "2020-06-18T10:51:11Z")

</div>

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