Authenticate API using LDAP token

Hi, I want to develop a user interface and get data via API from Portainer. It seems to be the only way to get it working using username and password in clear text to get an JWT. Even though I use server side code I`m dissatisfied with this option to authenticate to API. It there another way like using an LDAP token or somehting like that? If not, is there the possibility to not use password in clear text? What is your security advise?

Best Regards, Michel

There is the option to use LDAP with Portainer yes. You can also purchase our External Authentication extension here and use providers such as Google and Okta for Oauth

Bear in mind that an admin account with basic auth credentials still needs to used to initiate Portainer when it first starts and to enable LDAP or the External Auth Extension