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 JWT Token authenticator #542

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

stveit
Copy link
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

Codecov Report

Merging #542 (8f2aab9) into master (9ec2afc) will decrease coverage by 0.37%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master     #542      +/-   ##
==========================================
- Coverage   79.95%   79.58%   -0.38%     
==========================================
  Files          73       73              
  Lines        3502     3536      +34     
==========================================
+ Hits         2800     2814      +14     
- Misses        702      722      +20     
Impacted Files Coverage Δ
src/argus/auth/authentication.py 57.44% <42.85%> (-42.56%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarcloud
Copy link

sonarcloud bot commented Nov 21, 2022

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