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

feat(oidc): jwt profile for oauth 2.0 access tokens #5913

Merged
merged 3 commits into from
Sep 1, 2023

Conversation

james-d-elliott
Copy link
Member

This adds te JSON Web Token Profile for OAuth 2.0 Access Tokens as per RFC9068 as an optional per-client configuration.

@authelia
Copy link

authelia bot commented Aug 27, 2023

Artifacts

These changes are published for testing on Buildkite, DockerHub and GitHub Container Registry.

Docker Container

  • docker pull authelia/authelia:feat-oidc-jwt-profile-at
  • docker pull ghcr.io/authelia/authelia:feat-oidc-jwt-profile-at

@netlify
Copy link

netlify bot commented Aug 27, 2023

Deploy Preview for authelia-staging ready!

Name Link
🔨 Latest commit 817fab1
🔍 Latest deploy log https://app.netlify.com/sites/authelia-staging/deploys/64efda95026d770008ead6d2
😎 Deploy Preview https://deploy-preview-5913--authelia-staging.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 configuration.

@james-d-elliott james-d-elliott added this to the v4.38.0 milestone Aug 27, 2023
internal/model/oidc.go Outdated Show resolved Hide resolved
@james-d-elliott james-d-elliott marked this pull request as draft August 27, 2023 10:06
@james-d-elliott james-d-elliott force-pushed the feat-oidc-jwt-profile-at branch 3 times, most recently from bdc9a37 to d10118a Compare August 30, 2023 22:43
@codecov
Copy link

codecov bot commented Aug 31, 2023

Codecov Report

Merging #5913 (4127cbd) into master (0e8361a) will increase coverage by 0.22%.
Report is 1 commits behind head on master.
The diff coverage is 94.11%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5913      +/-   ##
==========================================
+ Coverage   74.16%   74.39%   +0.22%     
==========================================
  Files         285      287       +2     
  Lines       24492    24786     +294     
  Branches      443      443              
==========================================
+ Hits        18165    18440     +275     
- Misses       5587     5607      +20     
+ Partials      740      739       -1     
Flag Coverage Δ
backend 75.58% <94.11%> (+0.19%) ⬆️
frontend 58.27% <ø> (+0.52%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
internal/handlers/handler_oidc_userinfo.go 0.00% <0.00%> (ø)
internal/oidc/handler_introspection.go 100.00% <ø> (ø)
internal/oidc/jarm.go 100.00% <ø> (ø)
internal/oidc/types.go 100.00% <ø> (ø)
internal/oidc/core_strategy_jwt.go 90.21% <90.21%> (ø)
internal/oidc/util.go 92.50% <91.66%> (+0.83%) ⬆️
...rnal/configuration/validator/identity_providers.go 98.63% <92.47%> (-0.83%) ⬇️
internal/oidc/client.go 100.00% <100.00%> (ø)
internal/oidc/config.go 100.00% <100.00%> (ø)
internal/oidc/introspector_jwt.go 100.00% <100.00%> (ø)
... and 1 more

... and 5 files with indirect coverage changes

@james-d-elliott james-d-elliott force-pushed the feat-oidc-jwt-profile-at branch 5 times, most recently from 4073feb to e806f50 Compare August 31, 2023 06:17
This adds te JSON Web Token Profile for OAuth 2.0 Access Tokens as per RFC9068 as an optional per-client configuration.

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
@james-d-elliott james-d-elliott marked this pull request as ready for review August 31, 2023 12:08
@james-d-elliott james-d-elliott force-pushed the feat-oidc-jwt-profile-at branch 7 times, most recently from 48abba5 to bf744e6 Compare September 1, 2023 05:45
@james-d-elliott james-d-elliott force-pushed the feat-oidc-jwt-profile-at branch 2 times, most recently from ec780a0 to f949e3b Compare September 1, 2023 05:48
…le-at

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
@james-d-elliott james-d-elliott force-pushed the feat-oidc-jwt-profile-at branch 2 times, most recently from ab7d4db to ac74f65 Compare September 1, 2023 08:28
…le-at

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
@james-d-elliott james-d-elliott merged commit 9a28de5 into master Sep 1, 2023
49 checks passed
@james-d-elliott james-d-elliott deleted the feat-oidc-jwt-profile-at branch September 1, 2023 10:22
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

2 participants