mkhorasani / Streamlit-Authenticator

A secure authentication module to validate user credentials in a Streamlit application.
Apache License 2.0
1.38k stars 229 forks source link

The config.yaml file is not updated on GitHub when registering a new user #89

Closed malonvll closed 9 months ago

malonvll commented 9 months ago

Hi everyone,

Maybe a stupid question. When running on my local environment, the config.yaml file is automatically updated when registering a new user. But on my online app (files are stored on GitHub), the config.yaml file is not updated automatically, although I get the message that the registration is successful.

Is there a parameter to allow the app to edit the config.yaml file that is in my GitHub files?

mkhorasani commented 9 months ago

Hi @malonvll, there is no way for the library to push any changes to a remote GitHub repository. Alternatively, you can save your config.yaml file to disk on the server that you are using or instead write the contents to a database. Please check this video for more information.

malonvll commented 9 months ago

@mkhorasani thank you very much for your response, will set-up a database then. And props for your work on this package, it's really helpful!