Skip to content
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 "remember_me" option to /api/v1/users/sign_in endpoint #6210

Open
3 tasks
7riumph opened this issue Feb 4, 2025 · 0 comments
Open
3 tasks

Add "remember_me" option to /api/v1/users/sign_in endpoint #6210

7riumph opened this issue Feb 4, 2025 · 0 comments
Labels
codethechange for codethechange developers

Comments

@7riumph
Copy link
Collaborator

7riumph commented Feb 4, 2025

Part of epic #3942

What type of user does this affect?

  • volunteers

How should it operate? ⚙️🛠️

Endpoint should now have a remember_me option for extended sessions.

Refresh tokens delivered with this option are valid for 1 year.

Acceptance Criteria

  • Adds remember_me to the /api/v1/users/sign_in JSON payload
  • Makes refresh token valid for 1 year if remember_me is true
  • Updates relevant /api/v1 controllers so the endpoint can output this data (session controller and or blueprint)

Helpful Links

API Folder Structure
Blueprint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codethechange for codethechange developers
Projects
Development

No branches or pull requests

1 participant