Story #3248
closedAs a user, I can use a JWT token to authenticate
0%
Description
JWT authentication was removed in #3207. We'd like to re-add it eventually. This should be the epic to track that.
Here are the original MVP user stories:
- As an API user, I can have documentation to generate a JSON Web Token (JWT) without the server being online. [done]
- As an administrator, I can disable JWT token expiration. This configuration is in the settings file and is system-wide. [done]
- As an administrator, I can configure the JWT tokens to expire after a configurable amount of time. This configuration is in the settings file and is system-wide. [done]
- The JWT shall have a username identifier [done]
- As an API user, I can authenticate any API call with Basic auth a valid username and password [done]
- As an API user, I can authenticate any API call with a valid JWT [3163]
- As a JWT authenticated user, I can refresh my JWT token if Pulp is configured with JWT_ALLOW_REFRESH set to True (default is False) [3163]
- As an API user, I can invalidate all existing JWT tokens for a given user. [done]
- As an authenticated user, when deleting a user 'foo', all of user 'foo's existing JWTs are invalidated. [done]
- As an un-authenticated user, I can obtain a JWT token by using a username and password. [done]
Updated by daviddavis almost 7 years ago
- Subject changed from As a user to As a user, I can use a JWT token to authenticate
Updated by Ichimonji10 almost 7 years ago
QE already has automated tests for many of these JWT-related features. They'll be left in the test suite and enabled or disabled based on the state of this issue. (If sub-issues are created from this one, the tests could hinge on the state of those issues.)
Updated by bmbouter almost 6 years ago
I think this (and all jwt stories in Pulp) should be closed. Rather than integrating Pulp with specific types of authentication, users should be encouraged to configure auth at either the webserver or in their django config.
Updated by daviddavis almost 6 years ago
- Status changed from NEW to CLOSED - WONTFIX
I agree and so am closing this out. If anyone feels strongly that we should support JWT, feel free to reopen.