Skip to content
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

When Resource Server withdraws AccessToken renderConnector() doesn't know and users can't authorize again #39

Open
bencresty opened this issue Jul 22, 2021 · 0 comments · May be fixed by #43

Comments

@bencresty
Copy link

When using renderConnector() the template only checks if there is a known token (and perhaps if it is expired according to the date, not sure). But when the Resource Server withdraws the AccessToken the plugin doesn't know about it and renderConnector() doesn't check if the token is still valid. Not with a page refresh either, as it's still only checking if there is a token known, and that's still the case, although that token isn't valid anymore.

Unfortunately because of this when using the renderConnector() function it isn't possible for users to reconnect either. So even if they know the connection is gone, the frontend will on each page refresh keep saying that there is a connection, eventhough it's long gone, and for the user there's no way to re-login.

Also I didn't come accross any method to remove a token. So even if we request data, get a response code indicating that the token is invalid, there seem to be no way to remove the token and let the user login again.

@Mosnar Mosnar linked a pull request Aug 12, 2022 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant