Replies: 1 comment 2 replies
-
We need more than one token. Tokens are needed for each device, so I think it is rather rare to have one token.
This is not needed. We only need a UI to delete a token with the name. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I was thinking if there is a configuration on
AuthToken.php
config so when the same user request access token, the old one associated with it is deleted automatically. Fow now what i see is whenever i generate a token, it is then saved to database. And when i accidentally request again it keeps saving it to database without revoking the old one.
Also the method to revoke token i think should also have based on user's token name (e.g John's Iphone 15). That way we can secure delete only token given to for example apps on iphone without deleting other token that maybe used on other resource. Maybe the config can be true or false.
Beta Was this translation helpful? Give feedback.
All reactions