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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9788905a37d9079fe4b06072e7971256b3fb3a755bf93d4865daa57c9331929b
|
4
|
+
data.tar.gz: 421a110d3a665a3e7a714a04a120de4e99cb2689a50d88bc6ee5c37c66ab43dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'] !=
|
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?
|