We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c36ef4f commit 2a31acbCopy full SHA for 2a31acb
1 file changed
lib/omniauth/strategies/p2pu.rb
@@ -4,9 +4,9 @@ module OmniAuth
4
module Strategies
5
class P2PU < OmniAuth::Strategies::OAuth2
6
option :client_options, {
7
- :site => 'https://api.github.com',
8
- :authorize_url => 'https://github.com/login/oauth/authorize',
9
- :token_url => 'https://github.com/login/oauth/access_token'
+ :site => 'https://p2pu.org/oauth',
+ :authorize_url => 'https://p2pu.org/oauth/authorize',
+ :token_url => 'https://p2pu.org/oauth/token'
10
}
11
12
def request_phase
@@ -71,4 +71,4 @@ def email_access_allowed?
71
end
72
73
74
-OmniAuth.config.add_camelization 'github', 'GitHub'
+OmniAuth.config.add_camelization 'p2pu', 'P2PU'
0 commit comments