Portainer provides its own internal authentication mechanism, encrypting user passwords and storing them in the local Portainer database. Alternatively, external authentication providers are available. In this section, we explain how to authenticate via LDAP, Active Directory and OAuth.
For all authentication types you can adjust the session lifetime (the time before users are forced to reauthenticate). The default is 8 hours.
When you configure any external authentication method in Portainer Business Edition, Portainer will create user(s) automatically with the standard user role. This can be disabled when setting up your external authentication provider. If automatic user creation is disabled, users must be created beforehand in Portainer in order to log in.
Last modified 1mo ago
Copy link
Edit on GitHub