# Unsupported\_response\_type: Unsupported response type: link

**URL:** <https://community.auth0.com/t/unsupported-response-type-unsupported-response-type-link/122036>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [November 30, 2023, 11:33am UTC](https://community.auth0.com/t/unsupported-response-type-unsupported-response-type-link/122036 "2023-11-30T11:33:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmoreno](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cmoreno/32/52173_2.png) [@cmoreno](https://community.auth0.com/u/cmoreno)\
**Post date:** [November 30, 2023, 11:33am UTC](https://community.auth0.com/t/unsupported-response-type-unsupported-response-type-link/122036/1 "2023-11-30T11:33:04Z")

</div>

Hi everyone,

I’m currently looking into initiating a passwordless login using the [Passwordless Endpoint](https://auth0.com/docs/api/authentication#get-code-or-link).

However, whenever I try to make a request either `code` or `link` is set for the `code` parameter, I’m always getting this error below when clicking the link that was sent to my email:

```auto
unsupported_response_type: Unsupported response type: link

```

Here’s the sample request body:

```auto
{
  "client_id": "aU54GTE3JJd1u***",
  "client_secret": "u_6xyY0I9 ***3tbXiVrAO-***",
  "connection": "email",
  "email": "testemail@gmail.com",
  "send": "link",
  "authParams": {
    "redirect_uri": "https://sample-domain.com/"
  }
}

```

Any thoughts what I’m missing here?

---

<div class="post-metadata">

**Author:** ![cmoreno](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cmoreno/32/52173_2.png) [@cmoreno](https://community.auth0.com/u/cmoreno)\
**Post date:** [November 30, 2023, 2:33pm UTC](https://community.auth0.com/t/unsupported-response-type-unsupported-response-type-link/122036/3 "2023-11-30T14:33:11Z")

</div>

This should be solved. The problem is that the `redirect_uri` should be whitelisted from the auth0 application that is being used.

---

<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:** [December 14, 2023, 2:33pm UTC](https://community.auth0.com/t/unsupported-response-type-unsupported-response-type-link/122036/4 "2023-12-14T14:33:35Z")

</div>

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