1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Philip Hands <phil@hands.com>
Date: Thu, 4 Mar 2021 06:36:09 +0100
Subject: add 'debian_salsa' as an OAuth2 id provider
Forwarded: https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/62
Bug: https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/62
--- a/lib/Mojolicious/Plugin/OAuth2.pm
+++ b/lib/Mojolicious/Plugin/OAuth2.pm
@@ -14,6 +14,10 @@
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 @@
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.
|