omniauth-infinum_azure 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/omniauth/infinum_azure/version.rb +1 -1
- data/lib/omniauth/strategies/infinum_azure.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c0cfbd150059fb6878bc374878fc0b70586769f8d774e437164fa019b64827c
|
4
|
+
data.tar.gz: 9ee1bf51c4d0e2778129da93dbfbdfb828cf67ebc559ac66f6c4594145af1891
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91cc81adea8aa691c1da4f68d2479eb23525bf7b51ba86b83fed10d228f9eba5772de39b0f3446970c869fb04e9c2c06c7da5115bc0083f8c88eb2725536b168
|
7
|
+
data.tar.gz: 687428f5c95a1e8743770bdb84af6666fbb81beb3538b5de04b0edeff39c6898b99295aa2dc528612c0f00c04a9f36d34626109151c5a8751c3557cdfdef9a03
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -4,8 +4,10 @@ module OmniAuth
|
|
4
4
|
module Strategies
|
5
5
|
class InfinumAzure < OmniAuth::Strategies::OAuth2
|
6
6
|
option :name, 'infinum_azure'
|
7
|
-
|
8
|
-
option :
|
7
|
+
|
8
|
+
option :client_options, tenant: 'infinumtest'
|
9
|
+
option :client_options, policy: 'B2C_1_sign_in'
|
10
|
+
option :client_options, scope: 'openid'
|
9
11
|
|
10
12
|
def base_azure_url
|
11
13
|
"https://#{options.tenant}.b2clogin.com/#{options.tenant}.onmicrosoft.com/#{options.policy}/oauth2/v2.0"
|