website/integrations/development/frappe/index.md
:::info These instructions apply to all projects in the Frappe Family, including ERPNext. :::
Frappe is a full stack, batteries-included, web framework written in Python and JavaScript.
The following placeholders are used in this guide:
frappe.company is the FQDN of the Frappe installation.authentik.company is the FQDN of the authentik installation.provider is the name for the social login provider in Frappe.:::info This documentation only lists the settings that have been changed from their default values. Please verify your changes carefully to avoid any issues accessing your application. :::
To support the integration of Frappe with authentik, you need to create an application/provider pair in authentik.
Strict redirect URI to https://frappe.company/api/method/frappe.integrations.oauth2_logins.custom/<provider-name>. Replace <provider-name> with the name of the provider in Frappe.Based on the Users's username.Navigate to Integrations
Add a New Social Login Key
Enter the Required Settings
Client Credentials
Configuration
Identity Details
https://authentik.company//application/o/authorize//application/o/token/https://frappe.company/api/method/frappe.integrations.oauth2_logins.custom/<provider-name> (replace <provider-name> with the name of the provider in Frappe)/application/o/userinfo/
Client Information
{ "response_type": "code", "scope": "email profile openid" }
Save the Configuration
To verify that authentik is correctly set up with Frappe, navigate to your Frappe installation and click Login with Provider. A successful login should redirect you to the main page of your installation.