User Password/Admin Password Storage Support
First off just tried this client out and love it, so thanks to all the contributors. My guess is this has been discussed, but it would be fantastic to have an option to store a password for both player account and administrator account per server. It's the only thing that might prevent me from switching from theRippers/omegaRogue's standalone client, it is incredibly convenient to have those passwords autofill when working within multiple servers a lot.
That would require injecting custom Javascript into the user's Foundry window. After some research it seems like Tauri JS API doesn't have webview.eval() function due to security concerns. It's possible to use eval from Rust backend but I'm not very familiar with Rust language. I will explore it but can't guarantee I will be able to implement this approach.
That would require injecting custom Javascript into the user's Foundry window. After some research it seems like Tauri JS API doesn't have
webview.eval()function due to security concerns. It's possible to useevalfrom Rust backend but I'm not very familiar with Rust language. I will explore it but can't guarantee I will be able to implement this approach.
Got it, appreciate you looking into it either way 👍
This is the only thing stopping me from adopting FLC as my default browser for Foundry. =c
Maybe an alternative approach could be considered: for example, adding a small overlay button or placing a button next to "Join Server" that copies the password to the clipboard. That way, you don't have to manually type it in every time.
Would something like this work? Basically, it automatically would grab the available players/gms from the page, alike the system recognizer. Then when logging in, you could just go to /game instead of /join with the credentials in the request, skipping the whole login injection you mentioned before.
Note; this is a heavy speculation; I have no actual clue if that is anywhere close to how this works :P
@Gensokian Foundry does not provide API for that. You cannot send a "credentials request" to the login page because it doesn't accept any GET parameters.