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

How to remove tokens from within the cp? from the console? and by php? #34

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

How to remove tokens from within the cp? from the console? and by php? #34

bencresty opened this issue Jul 16, 2021 · 2 comments · May be fixed by #43

Comments

@bencresty
Copy link

bencresty commented Jul 16, 2021

It is possible to connect to the oAuth Auth/Resource server from the CP, which is nice. And I see that all tokens get listed in the Tokens tab. But to my surprise there seems to be no way to remove these tokens from the list once they are in.

I'm probably missing something, but I read the readme and searched on it, but couldn't find it: how can we get rid of the tokens in this list from within the cp and prevent to have an endlessly growing list there?

Thanks!

[edit] Changed the title, because it looks like we're not able to remove tokens at all now (searched everywhere, but couldn't find any way to do this with the plugin. Please tell me if I'm missing something, this is an important feature to have!)

Next to having a way to remove tokens from within the CMS, it's also a really missed action we now can't do from PHP. Which would be needed for cases of hard refreshing AccessTokens for example (or logging in when a Resource Server withdrawn an Access Token for some reason, like described here: #39).

@bencresty bencresty changed the title How to remove tokens from the cp? How to remove tokens from within the cp? Jul 16, 2021
@Mosnar
Copy link
Contributor

Mosnar commented Jul 16, 2021

Great question - will take a look! It may have just been an oversight on my part.

@bencresty
Copy link
Author

bencresty commented Jul 18, 2021

While debugging my code I find myself wanting to remove tokens while debugging too, to test code. So for that it would also be very useful.

Is there another way to remove tokens with the plugin?

@bencresty bencresty changed the title How to remove tokens from within the cp? How to remove tokens from within the cp? from the console? and by php? Jul 22, 2021
@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.

2 participants