How can I make ERPNext use my OAuth2 provider

I have an application which acts as on OAuth2 provider. I want to make ERPNext an OAuth2 client for that provider. The provider is configurable as to what data it sends in response to a data request.

How do I set this up? I have tried adding a social login, but I have no idea what to put in the various fields (they are not exactly self-explanatory!).

Help!

redirect uri doesn’t contain @ symbol.

it should be registered on your provider.

use /api/method/frappe.integrations.oauth2_logins.custom/local_hub

1 Like