-
Notifications
You must be signed in to change notification settings - Fork 271
fix(auth): check disabled status on verifyIDToken #455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
54b8114
Merge dev into master
google-oss-bot cef91ac
Merge dev into master
google-oss-bot 77177c7
Merge dev into master
google-oss-bot a957589
Merge dev into master
google-oss-bot eb0d2a0
Merge dev into master
google-oss-bot 05378ef
Merge dev into master
google-oss-bot 4121c50
Merge dev into master
google-oss-bot 928b104
Merge dev into master
google-oss-bot 5d2c617
check disabled status on verifyIDToken
gIthuriel ada3174
go fmt
gIthuriel 3c34140
add test cases and some other tweks
gIthuriel 9b5dc42
Merge branch 'dev' into check-disabled-user
Galadros e4d99ab
tweak some declarations, remove a double call to checkRevokedOrDisabled
gIthuriel c5df3e3
Merge branch 'check-disabled-user' of https://github.com/Galadros/fir…
gIthuriel 37f93c6
Added integration test for disabled status check
gIthuriel 5cfefa7
make tweaks
gIthuriel 4aea461
added unit test for VerifySessionCookie
gIthuriel fbf46e0
Undid public API rename
gIthuriel 99eb412
Merge branch 'dev' into check-disabled-user
hiranya911 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
Galadros marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "kind": "identitytoolkit#GetAccountInfoResponse", | ||
| "users": [ | ||
| { | ||
| "localId": "testuser", | ||
| "email": "[email protected]", | ||
| "phoneNumber": "+1234567890", | ||
| "emailVerified": true, | ||
| "displayName": "Test User", | ||
| "photoUrl": "http://www.example.com/testuser/photo.png", | ||
| "passwordHash": "passwordhash", | ||
| "salt": "salt===", | ||
| "passwordUpdatedAt": 1.494364393E+12, | ||
| "validSince": "1494364393", | ||
| "disabled": true, | ||
| "createdAt": "1234567890000", | ||
| "lastLoginAt": "1233211232000", | ||
| "customAttributes": "{\"admin\": true, \"package\": \"gold\"}", | ||
| "tenantId": "testTenant" | ||
| } | ||
| ] | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.