-
Notifications
You must be signed in to change notification settings - Fork 61
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
[SDK-1846] Add ability to get new access tokens #15
Conversation
Injectable, | ||
Inject, | ||
OnDestroy, | ||
ɵCodegenComponentFactoryResolver, |
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.
there's a weird symbol here. Is this intentional? 🤔
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.
Yeah this is a weird Angular type. The type name is correct but I don't think I need the import - will remove.
* If an `audience` value is given to this function, the SDK always falls | ||
* back to using an iframe to make the token exchange. | ||
* | ||
* Note that in all cases, falling back to an iframe requires access to |
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.
I assume this informational note is for samesite. Do we want to expand a bit on that or is this a copy of the react one?
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.
This actually refers to third-party cookie blocking in browsers like Safari and Brave, not really to do with SameSite. I've clarified that now.
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.
But yes - otherwise it's copied from the React SDK.
This PR adds wrapper methods for:
In this SDK, they are also renamed (respectively):
This is for consistency with
auth0-react
.