You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -901,8 +901,8 @@ This example sends the signed claims:
901
901
"exp": 1538207635
902
902
}
903
903
904
-
It is important to set `jwtAuth.audiences`and `jwtAuth.issuers`to avoid tokens from other
905
-
projects on the same authentication provider to work on your project.
904
+
It is important to set `jwtAuth.audiences` to avoid tokens from other projects on the same
905
+
authentication provider to work on your project.
906
906
907
907
NB: The JWT implementation only supports the RSA and HMAC based algorithms.
908
908
@@ -948,12 +948,15 @@ c. Read the decoded header information from the token, it will give you the corr
948
948
d. Grab the public key via this [URL](https://www.googleapis.com/robot/v1/metadata/x509/[email protected]), which corresponds to your `kid` from previous step
949
949
e. Now, just fill `jwtAuth.secrets` with your public key in the `api.php`
950
950
951
+
Also configure the `jwtAuth.audiences` (fill in the Firebase project ID).
952
+
951
953
Here is an example of what it should look like in the configuration:
0 commit comments