firebase-auth-id_token_keeper 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cebc3f86726a5e16d9b55886aef8f4a791e9f9764284d969dce650a0edcc685
4
- data.tar.gz: 7bcd67ba7a9a09d5c4f9d6fa3452fe7c0fedb4757e2d76ff11501ac4d701df73
3
+ metadata.gz: 9788905a37d9079fe4b06072e7971256b3fb3a755bf93d4865daa57c9331929b
4
+ data.tar.gz: 421a110d3a665a3e7a714a04a120de4e99cb2689a50d88bc6ee5c37c66ab43dd
5
5
  SHA512:
6
- metadata.gz: d67cb27cdac0cc329b3e319a97a4805c4843f18930ecf9c25092ffb061d061fdbd3c6f08b6072acaf2dd2e2d9716d4c13a4859194ac8c17848bcc91848f98787
7
- data.tar.gz: ddcb295e7142536df1d6898dd42d95a1963d387ce9b2f7123a2ff9a6280276b040d946d30318ffbd707a02a1d68fa6f8a1df2d56cbf88d7c2eff1a9566651990
6
+ metadata.gz: 1f9b82094cd0ecd478cebb6df0ff995d2fb79e7d2b7a97e5e4ada740da56cbcf412d30826b544a96447321e508b9aa88d941c7ce9b96803dcabb3e39477c6182
7
+ data.tar.gz: c6ab11dbafbcb958945f402b65dbe6608b2c069772527b6f975033c6fababffb5c73ea089a54599e067e17e8aa5edc7de36295e43d420b2e837383cd861217a5
@@ -44,7 +44,7 @@ module Firebase
44
44
  raise 'Invalid aud in payload.' if jwt_payload['aud'] != IDTokenKeeper.config.firebase_project_id
45
45
 
46
46
  # Issuer must be match Firebase issuer URI.
47
- raise 'Invalid iss in payload.' if jwt_payload['iss'] != FIREBASE_ISSUER_URI
47
+ raise 'Invalid iss in payload.' if jwt_payload['iss'] != firebase_issuer_uri
48
48
 
49
49
  # Subject must be a non-empty string.
50
50
  raise 'Invalid sub in payload.' if jwt_payload['sub'].strip.empty?
@@ -1,7 +1,7 @@
1
1
  module Firebase
2
2
  module Auth
3
3
  module IDTokenKeeper
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firebase-auth-id_token_keeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rui Onodera