Skip to content

Commit b21bb75

Browse files
author
JeffreyBool
authored
修复 github oauth 授权 scope 错误 (#227)
* fix bug fix bug * Update GitHub.php
1 parent bfb5395 commit b21bb75

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Providers/GitHub.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
class GitHub extends Base
88
{
9-
public const NAME = 'github';
10-
protected array $scopes = ['read:user'];
9+
public const NAME = 'github';
10+
protected array $scopes = ['read:user'];
11+
protected string $scopeSeparator = ' ';
1112

1213
protected function getAuthUrl(): string
1314
{

0 commit comments

Comments
 (0)