Login page not working on android app

AI-generated summary

Login page issue on Android app: Rafael_Melo_Silva is experiencing a problem with the login modal buttons not responding on the Android web app. A JavaScript error is thrown: Uncaught ReferenceError: PublicKeyCredential is not defined.

JammyDodger suggests updating the site to fix the issue, referencing a recent update in this GitHub pull request. JammyDodger advises waiting for the update to be merged and then updating the site from the /upgrade page to resolve the issue. Jagster confirms the update is already merged, and JammyDodger agrees, indicating the fix should now be available.

My discourse website works ok on android chrome app, but i can’t log in on my android webapp.. the login modal buttons don’t respond


Please can someone help me??

That’s the error, please help me:


_chunk.ab2bdba32ab4865966c1-55e14dfe607ee70be4a1ddeab890662c19f5bd4481f4a3fa075b488a4c5a7a8b.js:2 Uncaught ReferenceError: PublicKeyCredential is not defined
    at _.passkeyConditionalLogin (_chunk.ab2bdba32ab4865966c1-55e14dfe607ee70be4a1ddeab890662c19f5bd4481f4a3fa075b488a4c5a7a8b.js:2:1411139)
    at Object.installModifier (_chunk.ab2bdba32ab4865966c1-55e14dfe607ee70be4a1ddeab890662c19f5bd4481f4a3fa075b488a4c5a7a8b.js:2:3306487)
    at manager.js:635:1
    at e.untrack (validator.js:670:1)
    at A.install (manager.js:635:1)
    at runtime.js:4043:1
    at e.track (validator.js:657:1)
    at jt.commit (runtime.js:4041:1)
    at Nt.commit (runtime.js:4116:1)
    at Mt (runtime.js:4136:1)
    at Cr._renderRoots (index.js:6987:1)
    at Cr._renderRootsTransaction (index.js:7030:1)
    at Cr._revalidate (index.js:7063:1)
    at p.invoke (queue.ts:201:14)
    at p.flush (queue.ts:98:13)
    at h.flush (deferred-action-queues.ts:75:19)
    at $._end (index.ts:616:32)
    at $.end (index.ts:298:10)
    at $._run (index.ts:667:14)
    at $._join (index.ts:640:19)
    at $.join (index.ts:362:17)
    at p (index.js:156:1)
    at _chunk.ab2bdba32ab4865966c1-55e14dfe607ee70be4a1ddeab890662c19f5bd4481f4a3fa075b488a4c5a7a8b.js:2:2328509
    at d._triggerAction (_chunk.ab2bdba32ab4865966c1-55e14dfe607ee70be4a1ddeab890662c19f5bd4481f4a3fa075b488a4c5a7a8b.js:2:644113)
    at d.click (_chunk.ab2bdba32ab4865966c1-55e14dfe607ee70be4a1ddeab890662c19f5bd4481f4a3fa075b488a4c5a7a8b.js:2:643633)

There’s been a recent update to account for some passkey issues. Could you try updating your site to pull in the fix and see if that solves things?

Update: It has now been merged. :+1:

https://github.com/discourse/discourse/pull/24142

How can i do that?

I have to wait for new update from discourse?

Yes, the commit should fix the issue. :+1: A soon as it’s merged, you’ll need to update your site from the /upgrade page and everything should work again.

It is already merged? At least there is such tag.

It is now. :+1: