diff options
author | gregor herrmann <gregoa@debian.org> | 2021-03-28 00:44:42 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2021-03-28 00:44:42 +0100 |
commit | 7ba68c71da9c4ffb5c89830ef050d124bdca0538 (patch) | |
tree | f15ef061ef16b926cca3f94e336ffa903d7d22e0 | |
parent | 3b2d43e00839d6ba03665407d4bf7b5020f3a2a8 (diff) |
add 'debian_salsa' as an OAuth2 id provider
-rw-r--r-- | lib/Mojolicious/Plugin/OAuth2.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Mojolicious/Plugin/OAuth2.pm b/lib/Mojolicious/Plugin/OAuth2.pm index 7ca424d..a4c40e3 100644 --- a/lib/Mojolicious/Plugin/OAuth2.pm +++ b/lib/Mojolicious/Plugin/OAuth2.pm @@ -14,6 +14,10 @@ has providers => sub { authorize_url => "https://api.dailymotion.com/oauth/authorize", token_url => "https://api.dailymotion.com/oauth/token" }, + debian_salsa => { + authorize_url => 'https://salsa.debian.org/oauth/authorize?response_type=code', + token_url => 'https://salsa.debian.org/oauth/token', + }, eventbrite => { authorize_url => 'https://www.eventbrite.com/oauth/authorize', token_url => 'https://www.eventbrite.com/oauth/token', @@ -284,6 +288,10 @@ values for C<authorize_url> and C<token_url> for the following providers: Authentication for Dailymotion video site. +=item * debian_salsa + +Authentication for L<https://salsa.debian.org/>. + =item * eventbrite Authentication for L<https://www.eventbrite.com> event site. |