You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Haven't logged in a while. Wanted to delete everything and start all over. Deleted organization and got both "Success" and "Error" toast, from there everything was bugged. When I refreshed the page it got stuck at loading.
To Reproduce
Steps to reproduce the behavior:
Delete only organization there is
Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot of the screen it is now stuck:
Screenshot of the console:
Screenshot of the response on failing promise:
The text was updated successfully, but these errors were encountered:
hey @akhilmhdh, the main reason for this issue is when a user deletes the organization then we delete the data from the db but not from the jwt token, because of this the jwt token says the user has the organization ID but the db returns nothing.
@Ayush-Dutt-Sharma@maidul98 i went through this issue and code,i found that we can do two things first one we can blacklist all the tokens associated with the deleted orgId ,second one is while checking the token.organizationId we will check also if it also present in database but i think this will resolve only toast thing other things will be there,what is your suggestion on this ?
Describe the bug
Haven't logged in a while. Wanted to delete everything and start all over. Deleted organization and got both "Success" and "Error" toast, from there everything was bugged. When I refreshed the page it got stuck at loading.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot of the screen it is now stuck:
Screenshot of the console:
Screenshot of the response on failing promise:
The text was updated successfully, but these errors were encountered: