Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 3e58ef3

Browse files
committed
:octocat: Mastodon: set instance to "mastodon.social" by default
1 parent dfdd3d7 commit 3e58ef3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Providers/Mastodon.php

+7-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ class Mastodon extends OAuth2Provider implements CSRFToken, TokenRefresh{
3333
self::SCOPE_FOLLOW,
3434
];
3535

36-
protected string|null $apiDocs = 'https://docs.joinmastodon.org/api/';
37-
protected string $instance = '';
36+
protected string $authURL = 'https://mastodon.social/oauth/authorize';
37+
protected string $accessTokenURL = 'https://mastodon.social/oauth/token';
38+
protected string $apiURL = 'https://mastodon.social/api';
39+
protected string|null $userRevokeURL = 'https://mastodon.social/oauth/authorized_applications';
40+
protected string|null $apiDocs = 'https://docs.joinmastodon.org/api/';
41+
protected string|null $applicationURL = 'https://mastodon.social/settings/applications';
42+
protected string $instance = 'mastodon.social';
3843

3944
/**
4045
* set the internal URLs for the given Mastodon instance

0 commit comments

Comments
 (0)