I have a mobile app for sales. From the app, I want to go in ERPNext CRM Module. For this, I plan to create a button in the app named CRM. On click the button, ERPNext’s CRM mobule will open in mobile’s browser. I dont want user’s have to log-in again. In that case, I think I need same user’s in both appliction and other authentication way like Single Sign-On (SSO).
How can I implement this?
I also need a same thing. Any ERPNext experts here who can help with this ?
ERPNext supports SSO via OAuth2, OpenID Connect, and social login providers (Google, Microsoft, Frappe).
Set up an Identity Provider (IdP) such as Keycloak, Auth0, Azure AD, or Google.
Register your ERPNext instance as a client with your chosen IdP and configure ERPNext with the Client ID and Secret.
In ERPNext: Go to “Desktop > Integration > Authentication > Social Login Key” and add your IdP details (Client ID, Secret, authorization URLs).
Ensure your mobile app uses the same user base or federates user accounts with the IdP.