TL;dr wasmJs webapp not triggering the password ma...
# multiplatform
b
TL;dr wasmJs webapp not triggering the password managers. OK, got an interesting problem. Because wasmJs renders onto a canvas, I'm not getting the standard password manager popup to save passwords etc. One salutation is obviously to have a standard html page in front of it and initiate login that way, but it feels kind of clunky/painful. Has anyone else solved this issue yet?
c
This probably isn't the answer you're looking for, but you could avoid using passwords for user logins. Redirect the user to an OIDC provider for social logins, or use an alternative mechanism for auth like one-time passwords or magic email links.
👎 4
n
Not really a solution... but im using a js target instead of wasmJs to build a slim "login app" precisely to get the browser password manager support (or password manager plugin support, which are all often dependent on actual HTML DOM) This means you can't necessary share UI code across other targets... but you can at least share some business logic if necessary.
t
you can embed html in compose view btw
e
b
@Casey Brooks in intend to, but I need it as a fallback for what i'm working on. You need that initial setup.
@Norman Breau thats also the solution I came up with, but I wanted to see what else might work before I built it.
@Tanish Azad you mean like a html based "portal" embedded on the wasmJs canvase? hmm, that might work. Web views are a bit heavy but only using it for login isn't that much of a lift. I'll experiment with that. If it works, sounds like a it would make a good library the community could use.
✅ 1
p
This is very interesting! I will ask the team what is happening on the bug @ephemient shared. Thanks for highlighting 🙂
It is one of my biggest personal bugbears on general web experiences, so I am happy to help on this one.
👍 1
👍🏽 1
b
@Pamela Hill i've deferred it a little while im testing other stuff, but i will definitely report back what i come up with, and by all means let me know if they have any suggestions.
🙌 1
thank you color 1
kodee loving 1