Skip to content

Add JWT Token authenticator#542

Draft
stveit wants to merge 3 commits into
Uninett:masterfrom
stveit:feide-jwt-support
Draft

Add JWT Token authenticator#542
stveit wants to merge 3 commits into
Uninett:masterfrom
stveit:feide-jwt-support

Conversation

@stveit
Copy link
Copy Markdown
Contributor

@stveit stveit commented Nov 18, 2022

Add authentication module to the API that allows JWT tokens issued by a OIDC issuer.
Basically just set the OIDC endpoint of the issuer, and all necessary information is gathered from standard endpoints.
Also needs to set audience to check that the tokens are intended for this application

@stveit stveit marked this pull request as draft November 18, 2022 08:00
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 18, 2022

Codecov Report

❌ Patch coverage is 40.62500% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.00%. Comparing base (9ec2afc) to head (79ab5cf).
⚠️ Report is 1344 commits behind head on master.

Files with missing lines Patch % Lines
src/argus/auth/authentication.py 40.62% 38 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #542      +/-   ##
==========================================
+ Coverage   79.95%   80.00%   +0.04%     
==========================================
  Files          73       73              
  Lines        3502     3565      +63     
==========================================
+ Hits         2800     2852      +52     
- Misses        702      713      +11     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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