Setting up fairlogin

Setting up fairlogin

Fairkom.eu's fairlogin is an oAuth provider that is GDPR compliant.

Go to: to configure fairlogin as an oAuth provider.

Home > Integrations > Social Login Key

Setup keycloak

As keycloak is the foundation of fairlogin, the parameters for any customized oAuth option enabling keycloak may be comparable.

Your ERPnext instance's address is entered as the Root, Redirect, and Base URLs once you add a new client and choose open-id as the client protocol.

Fairkom is providing the service of adding your ERNext service as a client.

Setup fairlogin

The following settings must be made in order to make fairlogin an option for ERPNext login:

  • Base URL https://id.fairkom.net/auth/realms/fairlogin/
  • Authorize URL https://id.fairkom.net/auth/realms/fairlogin/protocol/openid-connect/auth
  • Redirect URL /api/method/frappe.integrations.oauth2logins.loginvia_fairlogin
  • Access Token URL https://id.fairkom.net/auth/realms/fairlogin/protocol/openid-connect/token
  • API Endpoint https://id.fairkom.net/auth/realms/fairlogin/protocol/openid-connect/userinfo

The system will allow users to log in with any fairlogin account after enabling the service.

A new user's default role is Blogger (currently hardcoded).