omniauth-infinum_azure 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/lib/omniauth/infinum_azure/version.rb +1 -1
- data/lib/omniauth/strategies/infinum_azure.rb +5 -1
- 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: '0178441ee865dcc137189f779e7eae305e5ca5f870e040e427b9b999a41fbe9a'
|
4
|
+
data.tar.gz: d15f11359e2add574be59594631397604b876bcffb411eba971be830af7b3ece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd379ff423fbf4f312c0839e5d83f96ab7be8f0b9b3c389e3623837062903f9bd2789b27af82b211ec722efe84cb38b5c5a4b4451246f5f0bfbfb99a484f1727
|
7
|
+
data.tar.gz: d6f08b74f57bfe0061c6b2bdca4fc3c0d9b94a3b87b70933eba55254045a3b75f7d4368ff38215348d5d984d5aa6123f3db091b7dd65bf47e0f9bbde3266137b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -8,7 +8,11 @@ module OmniAuth
|
|
8
8
|
option :scope, 'openid'
|
9
9
|
|
10
10
|
def base_azure_url
|
11
|
-
"https://#{
|
11
|
+
"https://#{tenant}.b2clogin.com/#{tenant}.onmicrosoft.com/#{options.policy}/oauth2/v2.0"
|
12
|
+
end
|
13
|
+
|
14
|
+
def tenant
|
15
|
+
options.client_options.tenant || 'tenant_not_provided'
|
12
16
|
end
|
13
17
|
|
14
18
|
def client
|