Username and Password
Username and Password is the simplest identity provided supported by Onegini IdP which uses password to login.
What is required?
To successfully complete this topic guide you need to ensure following prerequisites:
- Onegini IdP instance must to be running, for the sake of this guide we assume it's available under http://idp-core.dev.onegini.me address
Configure Username and Password identity provider
Configuration of Username and Password identity provider is done in the admin panel available under http://idp-core.dev.onegini.me:8082/admin address.
Please enter the address and go to Configuration
-> Identity Providers
and press +
button to add new identity provider.
On the page please select as following and use default setting for all the other fields:
Field | Value |
---|---|
Type | Username & Password |
Name | UnP |
Enabled | checked |
After configuration is done please add Username and Password identity provider by pressing Save
button.
Couple Username and Password as part of another identity provider
Onegini IdP supports many identity providers, eg. Facebook and Google. It is possible to create Username and Password identity while
registering via another identity provider. To enable that feature please go to the admin panel and Configuration
-> Identity providers
.
On the page with identity providers list please enter the identity provider which should have ability to additionally create password for a user.
Select Force creating username & password during sign-up
checkbox and save it by pressing Save
button.
With that configuration user is additionally asked to provide password on a sign up page.
Test configuration
Username and Password identity provider is available on a login page under http://idp-core.dev.onegini.me address. Please go to that address and notice that new fields are available, Username and Password. Also button responsible for registration is visible.
To test the configuration please press the Register
button and proceed as shown on the registration form. After being registered user is logged in to the application.