Pyrebase4
Pyrebase4 copied to clipboard
Exception handling in JWT token verification
We need an exception handling mechanism to detect when an invalid token is passed in:
auth.get_account_info('INVALID_TOKEN')
Examine the exception raised by the request or the response json and raise your own exception then.
On Fri, Jan 29, 2021, 6:18 PM Saqib Aleem [email protected] wrote:
We need an exception handling mechanism to detect when an invalid token is passed in: auth.get_account_info('INVALID_TOKEN')
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nhorvath/Pyrebase4/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIJXCBSRZMQEETHB2ADO3S4M63TANCNFSM4WZV32EA .