Skip to content

Commit

Permalink
Add openid token scope as it is required by omniauth connector
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaszkadziela committed May 18, 2024
1 parent cfdf220 commit 99e90b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public function boot(): void
}

Passport::tokensCan([
'openid' => 'Open ID',
'read-user' => 'Read user',
]);
}
Expand Down
1 change: 1 addition & 0 deletions lang/en/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
'save' => 'Save',
],
'scopes' => [
'openid' => 'Connect Open ID applications to your account',
'read-user' => 'View your account information, such as email address and username',
],
'verify-email' => [
Expand Down
1 change: 1 addition & 0 deletions lang/pl/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
'save' => 'Zapisz',
],
'scopes' => [
'openid' => 'Łączyć aplikacje Open ID z Twoim kontem',
'read-user' => 'Wyświetlać informacje o Twoim koncie, takie jak adres e-mail i nazwa użytkownika',
],
'verify-email' => [
Expand Down

0 comments on commit 99e90b9

Please sign in to comment.