diff options
author | Philip Hands <phil@hands.com> | 2021-03-04 06:36:09 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2021-03-28 00:46:48 +0100 |
commit | 453c99f2d1bfaecd538ba159409967b71dcb6799 (patch) | |
tree | ed6ca21b94fd44cbb3769deda556f66f928028ed | |
parent | b9e2cc46422d019b11be1e28f2160f3ba515b2f9 (diff) |
add 'debian_salsa' as an OAuth2 id providerarchive/debian/1.59-2
Forwarded: https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/62
Bug: https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/62
Gbp-Pq: Name 0001-add-salsa-as-an-OAuth2-id-provider.patch
-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 5f5e06d..88e397d 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. |