# How to trigger passkey login directly from the client side?

**URL:** <https://community.auth0.com/t/how-to-trigger-passkey-login-directly-from-the-client-side/131522>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [April 8, 2024, 2:08pm UTC](https://community.auth0.com/t/how-to-trigger-passkey-login-directly-from-the-client-side/131522 "2024-04-08T14:08:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![v-chetan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@v-chetan](https://community.auth0.com/u/v-chetan)\
**Post date:** [April 8, 2024, 2:08pm UTC](https://community.auth0.com/t/how-to-trigger-passkey-login-directly-from-the-client-side/131522/1 "2024-04-08T14:08:34Z")

</div>

We have a requirement in which we need to trigger direct passkey authentication of Auth0 from our web component. Is there any possibility we can do this?

Right now we are using this: await auth0Client.getTokenWithPopup(options)

This triggers login flow not passkey flow.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [April 8, 2024, 9:42pm UTC](https://community.auth0.com/t/how-to-trigger-passkey-login-directly-from-the-client-side/131522/3 "2024-04-08T21:42:43Z")

</div>

Hey there @v-chetan welcome to the community!

> [@v-chetan](#):
>
> We have a requirement in which we need to trigger direct passkey authentication of Auth0 from our web component. Is there any possibility we can do this?

As far as I can tell there isn’t a way to trigger login with passkeys directly - You can only pass the `connection` param of the connection for which passkeys are enabled.

> [@Direct link to passkey-login](https://community.auth0.com/t/direct-link-to-passkey-login/130762/3):
>
> Hi @kulturnat, Thanks for reaching out to the Auth0 Community! AFAIK, there does not seem to be a way to generate a link to login directly via a passkey. For now, you can only specify the connection using passkeys with the connection query parameter. Let me know if you have any further questions. Thanks, Rueben

I’m not sure of the technical details required to enable this or if it is even possible, but could be a great candidate for a #Feedback request.

---

<div class="post-metadata">

**Author:** ![v-chetan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@v-chetan](https://community.auth0.com/u/v-chetan)\
**Post date:** [April 9, 2024, 9:29am UTC](https://community.auth0.com/t/how-to-trigger-passkey-login-directly-from-the-client-side/131522/4 "2024-04-09T09:29:30Z")

</div>

how can we pass the connection param of the connection for which passkeys are enabled? Could we also pass passkey ?

---

<div class="post-metadata">

**Author:** ![v-chetan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@v-chetan](https://community.auth0.com/u/v-chetan)\
**Post date:** [April 9, 2024, 12:01pm UTC](https://community.auth0.com/t/how-to-trigger-passkey-login-directly-from-the-client-side/131522/5 "2024-04-09T12:01:28Z")

</div>

how can we pass the connection param of the connection for which passkeys are enabled? Could we also pass passkey ?

---

<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:** [April 23, 2024, 12:01pm UTC](https://community.auth0.com/t/how-to-trigger-passkey-login-directly-from-the-client-side/131522/6 "2024-04-23T12:01:56Z")

</div>

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