# Passwordless flow only returns access\_token without id\_token

**URL:** <https://community.auth0.com/t/passwordless-flow-only-returns-access-token-without-id-token/6898>\
**Category:** Get Help\
**Tags:** id\_token, passwordless\
**Created:** [June 3, 2017, 8:15am UTC](https://community.auth0.com/t/passwordless-flow-only-returns-access-token-without-id-token/6898 "2017-06-03T08:15:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![niklas.appelroth](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@niklas.appelroth](https://community.auth0.com/u/niklas.appelroth)\
**Post date:** [June 3, 2017, 8:15am UTC](https://community.auth0.com/t/passwordless-flow-only-returns-access-token-without-id-token/6898/1 "2017-06-03T08:15:17Z")

</div>

We have two accounts, one is working as expected and one is not.

We are starting a passwordless flow with the following parameters:

```
{
	"client_id": "client_id....",
	"connection": "email",
	"email": "email....",
	"send": "link",
	"authParams": {
	  "scope": "openid email jti roles user_metadata",
	  "response_type": "token",
	  "redirect_uri": "redirect url...",
	  "state": "state...`"
	}
}

```

On the first account we are getting a short access\_token and an id\_token in the callback url parameters. This is what we need.

However on the second account we’re only getting a long access\_token, the id\_token is missing all together. We’ve tried double checking the client settings to see if something is different, but we can’t find anything that differs.

What could cause the id\_token to be missing?

---

<div class="post-metadata">

**Author:** ![niklas.appelroth](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@niklas.appelroth](https://community.auth0.com/u/niklas.appelroth)\
**Post date:** [June 3, 2017, 8:34am UTC](https://community.auth0.com/t/passwordless-flow-only-returns-access-token-without-id-token/6898/2 "2017-06-03T08:34:04Z")

</div>

Of course I figured this out almost immediately after asking. The issue was wrong Default audience in Account settings → API Authorization Settings.

Problem solved!

---

<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:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/passwordless-flow-only-returns-access-token-without-id-token/6898/3 "2018-03-02T05:54:22Z")

</div>


