mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
fix: removed authEndpoint
This commit is contained in:
parent
ef2a943f49
commit
70916ad1aa
1 changed files with 1 additions and 6 deletions
|
|
@ -14,11 +14,6 @@ class Zoho extends OAuth2
|
||||||
*/
|
*/
|
||||||
private string $endpoint = 'https://accounts.zoho.com';
|
private string $endpoint = 'https://accounts.zoho.com';
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
private string $authEndpoint = 'https://accounts.zoho.com/oauth/v2/auth';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
|
@ -50,7 +45,7 @@ class Zoho extends OAuth2
|
||||||
*/
|
*/
|
||||||
public function getLoginURL(): string
|
public function getLoginURL(): string
|
||||||
{
|
{
|
||||||
$url = $this->authEndpoint . '?' .
|
$url = $this->endpoint . '/oauth/v2/auth?' .
|
||||||
\http_build_query([
|
\http_build_query([
|
||||||
'response_type' => 'code',
|
'response_type' => 'code',
|
||||||
'client_id' => $this->appID,
|
'client_id' => $this->appID,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue