TypeError when calling getAccessTokenSilently cache-only while no user is logged in #457
Closed
6 tasks done
Labels
bug
This points to a verified bug in the code
Checklist
Description
The following causes a TypeError when no user is logged in:
I would expect either a more intentional error to be thrown, or change the type annotations to indicate
string | undefined
and return undefined to indicate no access token is available.Reproduction
Additional context
auth0-angular version
2.2.0
Angular version
16.1.2
Which browsers have you tested in?
Chrome, Firefox
The text was updated successfully, but these errors were encountered: