My application is (finally) coming along nicely, and I have everything working except for one part:
I need to compare user-inputted username and password with the actual username and password. I am accustomed to doing this in my native Java, whereby I compare user input to System.getEnv(‘USERNAME’) and System.getEnv(‘PASSWORD’), which are both stored in System Environmental Variables, but Python via PyScript has no access to the system environment variables and is locked solely to the current working directory ‘/home/pyodide’, a virtual file system. Where do I put username and password for PyScript to find them and do their comparison in a secure manner?
Thanks