# Passkey error

**URL:** https://meta.discourse.org/t/passkey-error/362199
**Category:** Support
**Tags:** passkey
**Created:** [April 16, 2025, 8:23pm UTC](https://meta.discourse.org/t/passkey-error/362199 "2025-04-16T20:23:15Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![SaraMiller](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@SaraMiller](https://meta.discourse.org/u/SaraMiller)
#### Post date: [April 16, 2025, 8:23pm UTC](https://meta.discourse.org/t/passkey-error/362199/1 "2025-04-16T20:23:15Z")

</div>

I have a fresh install of Discourse and try to add a Passkey to my user. Unfortunately I get this error:

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/9/b/09b320b524025f773bfe1a09dd635b7269ca9c9e.png)

Any ideas why this could happen? I have not changed any settings.

---

<div class="post-metadata">

### Author: ![SaraMiller](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@SaraMiller](https://meta.discourse.org/u/SaraMiller)
#### Post date: [April 16, 2025, 8:49pm UTC](https://meta.discourse.org/t/passkey-error/362199/4 "2025-04-16T20:49:42Z")

</div>

I am trying to do it for my own user (who is also the only user and the admin user).

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [April 16, 2025, 9:11pm UTC](https://meta.discourse.org/t/passkey-error/362199/5 "2025-04-16T21:11:31Z")

</div>

Can you register your passkey on [https://webauthn.io/](https://webauthn.io/) and use it to log in there?

That will help determine whether the problem is related to your client system or your installation.

---

<div class="post-metadata">

### Author: ![SaraMiller](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@SaraMiller](https://meta.discourse.org/u/SaraMiller)
#### Post date: [April 16, 2025, 9:42pm UTC](https://meta.discourse.org/t/passkey-error/362199/6 "2025-04-16T21:42:25Z")

</div>

Yeah that works.

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/9/d/19d4a487f02d276083883322cf2922fa2408df49.png)

Ohh and btw, I am using iCloud Keychain and my Discourse Docker installation is up to date.

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [April 16, 2025, 9:50pm UTC](https://meta.discourse.org/t/passkey-error/362199/7 "2025-04-16T21:50:01Z")

</div>

Does it work on this site?

---

<div class="post-metadata">

### Author: ![SaraMiller](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@SaraMiller](https://meta.discourse.org/u/SaraMiller)
#### Post date: [April 17, 2025, 6:14am UTC](https://meta.discourse.org/t/passkey-error/362199/8 "2025-04-17T06:14:53Z")

</div>

Yes it does, as show in the picture. Or am I misunderstanding something?

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [April 17, 2025, 1:03pm UTC](https://meta.discourse.org/t/passkey-error/362199/9 "2025-04-17T13:03:12Z")

</div>

Is your site on `https`? When you see this error, you can also open the javascript console of your browser, it may have some more information.

---

<div class="post-metadata">

### Author: ![SaraMiller](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@SaraMiller](https://meta.discourse.org/u/SaraMiller)
#### Post date: [April 17, 2025, 1:37pm UTC](https://meta.discourse.org/t/passkey-error/362199/10 "2025-04-17T13:37:23Z")

</div>

Ok, the strangest thing just happened. I am now on my macMini and it just works. I did not work on my MB Air.

Will try to update my Air to 15.4.1 and see if the problem is gone.

Yes, my site is https and NGXIN redirects HTTP.

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [April 17, 2025, 2:35pm UTC](https://meta.discourse.org/t/passkey-error/362199/11 "2025-04-17T14:35:23Z")

</div>

I meant on _this_ site, as in [meta.discourse.org](http://meta.discourse.org) 😃

---

<div class="post-metadata">

### Author: ![SaraMiller](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@SaraMiller](https://meta.discourse.org/u/SaraMiller)
#### Post date: [April 17, 2025, 2:57pm UTC](https://meta.discourse.org/t/passkey-error/362199/12 "2025-04-17T14:57:10Z")

</div>

haha, yes. Here it also worked with my Air.

---

<div class="post-metadata">

### Author: ![SaraMiller](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@SaraMiller](https://meta.discourse.org/u/SaraMiller)
#### Post date: [April 19, 2025, 6:51am UTC](https://meta.discourse.org/t/passkey-error/362199/13 "2025-04-19T06:51:50Z")

</div>

Ok, back at my Air, the passkey from my mini synced over iCloud to my Air.  
And I can login in with the Air over passkey.

So I deleted the passkey again.  
And tried to create a new one. Which worked 🥳  
I got an 502 error the first time I clicked on “Add passkey” but it worked the second time.

So I don’t know what really caused this, maybe the update on my Air to 15.4.1.  
Either way, the problem is solved for me 🙂

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 19, 2025, 6:52am UTC](https://meta.discourse.org/t/passkey-error/362199/14 "2025-05-19T06:52:24Z")

</div>

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