adobe / cryptr

Cryptr: a GUI for Hashicorp's Vault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set ldap mount /v1/auth/X/login where X can be ldap (or another mount point)

lgfausak opened this issue · comments

The problem

LDAP has a mount point in Hashcorp vault. The default is ldap. Perhaps the mount point could be a pulldown, or, could be specified as a string with a default of ldap.

Environment

  • Cryptr login screen for ldap

Details

Login using ldap. A screen shot it attached. There is no place to put the ldap mount point. The default ldap is used.

Screen Shot 2022-01-11 at 11 58 42 AM

Possible fixes.

The api posts to:

/v1/auth/ldap/login/

It would be helpful if the string ldap could be input from login screen allowing for other mount points.

Notes.

The login-form.html could collect the ldapmount with a default value of 'ldap', then, when creating the login post:

this.authURL = this.url + 'v1/auth/' + this.ldappath + '/login/' + this.username;

This feature has been added in 058572e which will be released in v0.6.0.