-
Notifications
You must be signed in to change notification settings - Fork 41
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 frontend for JWT refresh tokens #3273
base: jwt-refresh-token-endpoint
Are you sure you want to change the base?
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Test results 9 files 9 suites 8m 26s ⏱️ Results for commit 80d6175. ♻️ This comment has been updated with latest results. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## jwt-refresh-token-endpoint #3273 +/- ##
==============================================================
+ Coverage 60.58% 60.59% +0.01%
==============================================================
Files 606 606
Lines 43733 43868 +135
Branches 48 48
==============================================================
+ Hits 26494 26582 +88
- Misses 17227 17274 +47
Partials 12 12 ☔ View full report in Codecov by Sentry. |
f33e025
to
38ae35e
Compare
38ae35e
to
80d6175
Compare
@pytest.fixture(scope="module") | ||
def private_key() -> str: | ||
"""Yields a private key in PEM format""" | ||
key = """-----BEGIN PRIVATE KEY----- |
Check failure
Code scanning / SonarCloud
Cryptographic private keys should not be disclosed High test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dummy key. But a more relevant point is that there are already tests that define PEM keys, so instead of redefining keys here its probably better to restructure the fixtures to allow this test file access to those fixtures
|
83c5074
to
511b5e1
Compare
Adds a frontend for managing JWT refresh tokens. You can see which tokens exist, expire existing ones and generate new ones.