-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
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
Add UI for generating long lived access tokens #15195
Comments
Some thought Front end
Back end
@balloob I am going to start it from back end implementation, let me know if you any comment |
We should not abuse the client ID field to either be a name or url. We should add a name field instead. We can default the name field to be the client_id for normal tokens for now, in the future we might want to support apps passing in name as per the IndieAuth spec. The refresh token for long lived tokens need to be a special "type", that will allow only a single access token to be active. To ensure only a single access token is active, whenever a new one is generated, the refresh token needs to also generate a new jwt key. That way the old access token will no longer work. |
Per 4.2.1 Application Information, application has |
Changed design Back end
|
We already have a revoke token support on |
I think this issue can be closed now. |
Allow people to generate access tokens that live for a long time. That way they can update their old scripts that take api_password and still make them work.
The text was updated successfully, but these errors were encountered: