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

api: add basic jwt support with required scope #2624

Merged
merged 9 commits into from Jun 26, 2022
Merged

api: add basic jwt support with required scope #2624

merged 9 commits into from Jun 26, 2022

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Mar 30, 2022

allow API access with JWT refreshtokens if they have the correct scope

@codecov
Copy link

codecov bot commented Mar 30, 2022

Codecov Report

Merging #2624 (caddf57) into main (768f073) will increase coverage by 0.19%.
The diff coverage is 98.02%.

@@            Coverage Diff             @@
##             main    #2624      +/-   ##
==========================================
+ Coverage   91.92%   92.10%   +0.19%     
==========================================
  Files         466      466              
  Lines       21032    21110      +78     
==========================================
+ Hits        19331    19441     +110     
+ Misses       1701     1669      -32     
Impacted Files Coverage Δ
authentik/api/authentication.py 94.92% <86.67%> (-1.16%) ⬇️
authentik/api/tests/test_auth.py 100.00% <100.00%> (ø)
authentik/flows/challenge.py 100.00% <100.00%> (ø)
authentik/providers/oauth2/constants.py 100.00% <100.00%> (ø)
authentik/providers/oauth2/views/userinfo.py 93.66% <100.00%> (+0.32%) ⬆️
authentik/stages/consent/api.py 97.37% <100.00%> (ø)
authentik/stages/consent/models.py 100.00% <100.00%> (ø)
authentik/stages/consent/stage.py 94.03% <100.00%> (+12.55%) ⬆️
authentik/stages/consent/tests.py 100.00% <100.00%> (ø)
authentik/outposts/tasks.py 79.32% <0.00%> (+1.15%) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 768f073...caddf57. Read the comment docs.

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
…sions are required

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
@netlify
Copy link

netlify bot commented Jun 26, 2022

Deploy Preview for authentik ready!

Name Link
🔨 Latest commit a792766
🔍 Latest deploy log https://app.netlify.com/sites/authentik/deploys/62b8693805f3d800084897ba
😎 Deploy Preview https://deploy-preview-2624--authentik.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
@BeryJu BeryJu merged commit c5a2831 into main Jun 26, 2022
@BeryJu BeryJu deleted the api/jwt-auth branch June 26, 2022 15:51
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.

None yet

1 participant