-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Nv 942 bug report no way to reset destroy the #2811
Nv 942 bug report no way to reset destroy the #2811
Conversation
NV-942 🐛 Bug Report: No way to reset / destroy the `widget_user_auth_token` in the iFrame embed.
📜 DescriptionI have a Vue app that embeds the iFrame option for displaying the notification center. When I log out the existing user and log in as a new user, the notifications don't get updated. The 👟 Reproduction steps
👍 Expected behaviorStep 5 should result in different notifications (and 👎 Actual Behavior with ScreenshotsBoth the notifications and 💻 Operating systemMacOS 🤖 Node Version16.4 📃 Provide any additional context for the Bug.No response 👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?No response |
e9612e4
to
a8d402b
Compare
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.
🌟
@@ -89,6 +89,7 @@ export interface INovuProviderContext { | |||
fetchingStrategy: IFetchingStrategy; | |||
setFetchingStrategy: (strategy: Partial<IFetchingStrategy>) => void; | |||
onLoad: (data: { organization: IOrganizationEntity }) => void; | |||
logout: VoidFunction; |
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.
Is this a TypeScript built in type for void functions? I didn't know about it.
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.
Yes, it is a part of the DOM lib
What change does this PR introduce?
closes #1289
Why was this change needed?
Other information (Screenshots)