Link to auto enrollment new users


We have a application to create users that creates users in LDAP server.
All users use ssh to conect to servers and use google 2fa.
The new users receave a e-mail with first password access with expired account.
We plan adot Privacyidea to manager password and 2fa tokens.
For first login we plan to send a link for user create first password and token to accesss ssh
is there any way to generate the link for the new user enrrol? this process is execute with linux bash scripts without any interation.


There is no direct link to enrolling the token.
You can send the link to the webui login.
Then you could use the enrollment wizard, so that the user will half automatically enroll the token.

Note: privacyIDEA is no management UI for administering LDAP!