Setup a Username Authenticator
Setup a Username Authenticator¶
The most common login method is username and password. In Curity this is done by setting up a username and password authenticator called
html-form. It uses a credential manager to verify the credentials, which in turn uses a data-source. It can also be configured with an account-manager to allow for user self-signup.
In this tutorials we use the credential manager and account managers that were created in the First Configuration Tutorial.
Open the Authentication profile by clicking the Profiles button in the top bar. Click the Authentication Service box to open the authentication service general page.
Select the Authenticators page in the Authentication Profile sidebar menu.
Add new Authenticator¶
Click New Authenticator on the authenticator page, and type the name
username-password. Select the
HTML-Form Authenticator type in the grid of authenticators and click next.
Configure Credential Manager and Account Manager¶
The HTML Form authenticator needs a Credential Manager in order to verify credentials and optionally an Account Manager for user registration. Select the
default-account-manager as account manager and
default-credential-manager as credential manager.
Commit the Changes¶
Commit the changes, in the Changes menu.
Optionally add a commit message.
The first authenticator is configured. It can now be used when moving on with OAuth and OpenID Connect, or any other integration the requires user authentication.