Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wheres is SUPPORTED_MFA_LIST params ? #8142

Open
kosmonavtus opened this issue Nov 17, 2024 · 3 comments
Open

Wheres is SUPPORTED_MFA_LIST params ? #8142

kosmonavtus opened this issue Nov 17, 2024 · 3 comments

Comments

@kosmonavtus
Copy link

kosmonavtus commented Nov 17, 2024

In the documentation, you say https://www.pgadmin.org/docs/pgadmin4/development/mfa.html

SUPPORTED_MFA_LIST = Set the authentication methods to be supported

ok!
Screenshot 2024-11-17 at 21 36 41

but nowhere does it say what the parameter is called.
how can I specify what to write to make only the autentufication app available ?

What do you have to choose from? What are they called?

i am trying to use: MFA_SUPPORTED_METHODS: '["authenticator"] but it doesn't work.
[pgAdmin 4 8.13]

Email OTP is still available ...

@pravesh-sharma
Copy link
Contributor

Hi @kosmonavtus,

You can pass MFA_SUPPORTED_METHODS: ["authenticator"] in the config_local.py file as mentioned in the documentation. If you are using Docker, you can pass PGADMIN_CONFIG_MFA_SUPPORTED_METHODS: '["authenticator"]' in as env variable in the docker-compose file.

@kosmonavtus
Copy link
Author

kosmonavtus commented Nov 18, 2024

Hellow @pravesh-sharma thnx but I did this, the first time I log into pgadmin with MFA_FORCE_REGISTRATION True .

I still have a choice between email and authenticator apps.

is that correct, is that how it should be?

@pravesh-sharma
Copy link
Contributor

@kosmonavtus set MFA_SUPPORTED_METHODS: ["authenticator"] it will list only the authenticator method. If you still face the issue can you please share your configuration details? If you are using docker please share your docker-compose file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants