-
-
Notifications
You must be signed in to change notification settings - Fork 486
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
Enhance endpoint security for /api/v1/users/sign_in with randomization #6207
Labels
codethechange
for codethechange developers
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Part of epic #3942
What type of user does this affect?
How should it operate? ⚙️🛠️
Endpoint can now output randomized
token
andrefresh_token
on successful/api/v1/sign_in
request.Additionally, since tokens now expire,
user model
hastoken_expires_at
andrefresh_token_expires_at
datetimes.Acceptance Criteria
user model
to handle both thetoken
andrefresh token
, as well as their expiration times.randomized
tokens inuser.rb
and set default expiration to7 hours
and30 days
session controller
andbase controller
with new details if applicableHelpful Links
The text was updated successfully, but these errors were encountered: