-
Notifications
You must be signed in to change notification settings - Fork 17
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 argument for token expiry date #385
Comments
With |
So users won't be able to specify the expiry date when requesting an API token? |
We can try overriding |
I see, thanks. Also I believe this is not really needed for the production release candidate, unless some users have an issue with token expiry being too short or too long etc. |
Do we have any token revocation mechanism? For example if user exposed token to public and want to cancel it. |
We are using JWT tokens and they can not be revoked on demand from the server side. It purely works on expiry time. |
Great idea, so i think in case someone request such feature - we will go over blacklist way. |
The current
/token
endpoint does not provide a way for clients to specify the lifetime of the token to be generated. This should be added as a way to override the internal API default expiry value./token
endpoint--expiry
option added tokci user token
and underlying API Python bindings inkernelci-core
The text was updated successfully, but these errors were encountered: