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 support for stateless user authentication in SimpleJWT #1221

Merged
merged 5 commits into from
Apr 7, 2024

Conversation

wmeints
Copy link
Contributor

@wmeints wmeints commented Apr 6, 2024

Most SimpleJWT classes are supported in the OpenAPI spec, but the stateless user auth was missing. I've added it in this PR.
The stateless user auth is described here: https://django-rest-framework-simplejwt.readthedocs.io/en/latest/stateless_user_authentication.html

@tfranzel
Copy link
Owner

tfranzel commented Apr 6, 2024

Hi, thx for the PR @wmeints . I would like to see a unit test for this. Ideally a short one without a full separate reference yaml.

Copy link

codecov bot commented Apr 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.58%. Comparing base (b1a34b0) to head (b228b38).

❗ Current head b228b38 differs from pull request most recent head 84d86bd. Consider uploading reports for the commit 84d86bd to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1221   +/-   ##
=======================================
  Coverage   98.58%   98.58%           
=======================================
  Files          74       74           
  Lines        8886     8888    +2     
=======================================
+ Hits         8760     8762    +2     
  Misses        126      126           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tfranzel tfranzel merged commit 741ac4c into tfranzel:master Apr 7, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants