Passkey not working for telegram in-app browser and telegram mini-app

77 views
Skip to first unread message

Akshay R

unread,
Oct 20, 2024, 6:39:37 AMOct 20
to FIDO Dev (fido-dev)
I have a webapp with passkey based login but It doesn't work when I open the link to the webapp through telegram (since it opens in the telegram in-app browser)
Unable to process the registration options generated from the backend. 

Get the following error {"name":"NotAllowedError","code":"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY"}

What is the issue and how can I fix this?

I am using the https://simplewebauthn.dev/ libraries on the frontend and backend for my app.

The app works fine when opened in a normal browser on mobile or desktop devices (chrome, safari, etc)


My1

unread,
Oct 20, 2024, 8:39:16 AMOct 20
to Akshay R, FIDO Dev (fido-dev)
I assume that's an issue with the mini-browser.

Considering it says see cause property, the question is if there is one such property in the object that tossed the error.

in Telegram you can say to open sites with the normal browser both in general and for specific sites however you like.

Regards

--
You received this message because you are subscribed to the Google Groups "FIDO Dev (fido-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fido-dev+u...@fidoalliance.org.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/78d08f5f-9063-411d-9751-f04a66eb9281n%40fidoalliance.org.

Tim Cappalli

unread,
Oct 20, 2024, 1:47:38 PMOct 20
to Akshay R, FIDO Dev (fido-dev)

My1

unread,
Oct 20, 2024, 2:13:41 PMOct 20
to Tim Cappalli, Akshay R, FIDO Dev (fido-dev)
Oh there is a type of webview that allows an app to be evil browser, yeah damn right webauthn doesn't work there.

Imo general use webviews should maybe use the system webview rather than an embedded one. 

Reply all
Reply to author
Forward
0 new messages