Skip to content

EspoCRM – Open Source CRM Application

remove resource endpoint field

Yuri Kuznetsov2b98eef915f3
diff --git a/application/Espo/Entities/OAuthProvider.php b/application/Espo/Entities/OAuthProvider.php
index c1183b0d87..e15ae32272 100644
--- a/application/Espo/Entities/OAuthProvider.php
+++ b/application/Espo/Entities/OAuthProvider.php
@@ -88,11 +88,6 @@ class OAuthProvider extends Entity
return $value;
}
- public function getResourceEndpoint(): ?string
- {
- return $this->get('resourceEndpoint');
- }
-
/**
* @return string[]
*/
diff --git a/application/Espo/Resources/i18n/en_US/OAuthProvider.json b/application/Espo/Resources/i18n/en_US/OAuthProvider.json
index 1b0d05ebc6..9bec51ecc6 100644
--- a/application/Espo/Resources/i18n/en_US/OAuthProvider.json
+++ b/application/Espo/Resources/i18n/en_US/OAuthProvider.json
@@ -8,7 +8,6 @@
"clientSecret": "Client Secret",
"authorizationEndpoint": "Authorization Endpoint",
"tokenEndpoint": "Token Endpoint",
- "resourceEndpoint": "Resource Endpoint",
"authorizationRedirectUri": "Authorization Redirect URI",
"scopes": "Scopes",
"scopeSeparator": "Scope Separator",
diff --git a/application/Espo/Resources/metadata/entityDefs/OAuthProvider.json b/application/Espo/Resources/metadata/entityDefs/OAuthProvider.json
index 3d75bfbcde..08a69fd338 100644
--- a/application/Espo/Resources/metadata/entityDefs/OAuthProvider.json
+++ b/application/Espo/Resources/metadata/entityDefs/OAuthProvider.json
@@ -30,12 +30,6 @@
"dbType": "text",
"strip": false
},
- "resourceEndpoint": {
- "type": "url",
- "maxLength": 512,
- "dbType": "text",
- "strip": false
- },
"authorizationRedirectUri": {
"type": "url",
"notStorable": true,