-
Notifications
You must be signed in to change notification settings - Fork 269
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
fix(auth): check if the user is disabled on checkRevoked=true for verifyIdToken and verifySessionCookie #585
Conversation
…ifyIdToken and verifySessionCookie
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good. Just a few minor nits pointed out.
src/main/java/com/google/firebase/auth/RevocationCheckDecorator.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. LGTM 👍
@egilmorez PTAL the javadoc updates in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, though a couple of comments don't fully make sense to me -- possibly my problem but please clarify if you can, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
When
verifyIdToken
orverifySessionCookie
is called withcheckRevoked
set totrue
we also check if the user is disabled. If so, aFirebaseAuthException
with the new AuthErrorCodeUSER_DISABLED
is thrown.