Setting up fairlogin

fairlogin is an GDPR aware oAuth provider by

To setup fairlogin as an oAuth provider, go to:

Home > Integrations > Social Login Key

Setup keycloak

fairlogin is based on keycloak, so the parameters may be similar for any custom oAuth setting facilitating keycloak.

There you add a new client, select open-id as client protocol and enter the address of your ERPnext instance as the Root, Redirect and Base URL.

Adding your ERNext service as a client is being offered as a service by fairkom.

ERPnext keycloak Settings

Setup fairlogin

To enable fairlogin as an ERPNext login option, you need to configure the following parameters:

  • Base URL
  • Authorize URL
  • Redirect URL /api/method/frappe.integrations.oauth2logins.loginvia_fairlogin
  • Access Token URL
  • API Endpoint

ERPnext fairlogin Settings

On enabling service, the system will allow to login with any fairlogin account.

The default role of a new user is Blogger (currently hardcoded).

Was this article helpful?