diff --git a/frappe/docs/user/en/guides/integration/how_to_setup_oauth.md b/frappe/docs/user/en/guides/integration/how_to_setup_oauth.md index 9add268aa8..37fd85de85 100644 --- a/frappe/docs/user/en/guides/integration/how_to_setup_oauth.md +++ b/frappe/docs/user/en/guides/integration/how_to_setup_oauth.md @@ -28,6 +28,11 @@ Go to +### Add Primary Server + +This is the main server hosting all the users. e.g. `https://frappe.io`. To setup this as the main server, go to *Setup* > *Integrations* > *Social Login Keys* and enter `https://frappe.io` in the field `Frappe Server URL`. This URL repeats in all other Frappe servers who connect to this server to authenticate. Effectively, this is the main Identity Provider (IDP). + +Under this server add as many `OAuth Client`(s) as required. ## Add a Client App diff --git a/frappe/docs/user/en/guides/integration/using_oauth.md b/frappe/docs/user/en/guides/integration/using_oauth.md index e174dc3002..48bb853d0a 100644 --- a/frappe/docs/user/en/guides/integration/using_oauth.md +++ b/frappe/docs/user/en/guides/integration/using_oauth.md @@ -8,7 +8,7 @@ Once the client and provider settings are entered, following steps can be used t URL: ``` -[GET] 0.0.0.0:8000/api/method/frappe.integration_broker.oauth2.authorize +[GET] 0.0.0.0:8000/api/method/frappe.integrations.oauth2.authorize ``` Params: ``` @@ -38,7 +38,7 @@ http://localhost:3000/oauth_code?error=access_denied URL: ``` -[POST] 0.0.0.0:8000/api/method/frappe.integration_broker.oauth2.get_token +[POST] 0.0.0.0:8000/api/method/frappe.integrations.oauth2.get_token ``` Params: ``` @@ -62,7 +62,7 @@ Response: URL: ``` -[POST] 0.0.0.0:8000/api/method/frappe.integration_broker.oauth2.get_token +[POST] 0.0.0.0:8000/api/method/frappe.integrations.oauth2.get_token ``` Params: ``` @@ -85,7 +85,7 @@ Response: URL: ``` -[POST] 0.0.0.0:8000/api/method/frappe.integration_broker.oauth2.revoke_token +[POST] 0.0.0.0:8000/api/method/frappe.integrations.oauth2.revoke_token ``` Params: ```