pgAdmin is a management tool for PostgreSQL and derivative relational databases such as EnterpriseDB's EDB Advanced Server. It may be run either as a web or desktop application.
:::
:::note
This is based on authentik 2022.3.3 and pgAdmin4 v6.7
-`<display-name>`: The name that is displayed on the Login Button
-`<client-id>`: The Client ID from step 1
-`<client-secret>`: The Client Secret from step 1
-`<fontawesome-icon>`: An icon name from [fontawesome](https://fontawesome.com). Only brand icons seem to be supported. This icon is displayed in front of the `<display-name>`. E.g.: _fa-github_.
-`<button-color>`: Sets the color of the Login Button. Should be in Hex format, E.g.: _#fd4b2d_
To only allow authentication via authentik set `AUTHENTICATION_SOURCES` to _['oauth2']_. This should **only** be done once at least one user registered via authentik has been made an admin in pgAdmin.
:::
:::note
To disable user creation on pgAdmin, set `OAUTH2_AUTO_CREATE_USER` to _False_
:::
Finally, restart pgAdmin to apply the changes.
:::note
pgAdmin needs to be restarted **every** time changes to `config_local.py` are made