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 new model OrgAuthToken
based on existing ApiToken
model
#50144
Comments
OrgApiToken
(?? Name TBD) based on existing ApiToken
modelOrgAccessToken
(?? Name TBD) based on existing ApiToken
model
OrgAccessToken
(?? Name TBD) based on existing ApiToken
modelOrgAuthToken
(?? Name TBD) based on existing ApiToken
model
OrgAuthToken
(?? Name TBD) based on existing ApiToken
modelOrgAuthToken
based on existing ApiToken
model
Note: We decided to make the |
Hey, is there a tech spec for this change available? This is a pretty substantial change I want to make sure we've done our due diligence in investigating the implications of adding a new token type. |
Hey, the RFC outlining this is here: getsentry/rfcs#91 |
ref #50144 based on RFC getsentry/rfcs#91
We will add a new model
OrgAuthToken
with the following properties:organization
name
- note that this is required in order to identify the tokentoken_hashed
- the JWT token - we'll store this as a hashtoken_last_characters
- the last characters of the original token, to be shown to the user (e.g. "ends with ABCD")scope_list
- for now can only containorg:ci
, but in the future maybe more.date_added
user_added
date_last_used
project_last_used
We decided against re-using/extending the
ApiToken
model, as there are too many differences and may lead to more confusion/problems.Some important things:
token
is only viewable after creation.projects
for now, as that complicates stuff with HybridCloud considerably. We may add this later.Future things
The text was updated successfully, but these errors were encountered: