[COMPASS-6710] Investigate changes in SERVER-75121: Remove JWKS URI from server OIDC configuration Created: 07/Apr/23  Updated: 11/Apr/23  Resolved: 11/Apr/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-75121 Remove JWKS URI from server OIDC conf... Closed
Related
Documentation Changes: Not Needed

 Description   
Original Downstream Change Summary

This change removes the JWKSUri from OIDC configuration and saslStart responses. The JWKSUri is discovered from a metadata endpoint which can be constructed from the issuer URI, which is already defined in the configuration.

Description of Linked Ticket

SERVER-74735 must incidentally implement OAuth2 Authorization Server metadata discovery. We can re-use that mechanism to discover the JWKS endpoint, which we require in order to acquire the issuer's public token signing keys. Instead of requiring our administrator to populate the JWKS endpoint in our configuration, we should use metadata discovery to acquire the JWKS endpoint ourselves. Polling the endpoint will require network connectivity anyway, so this doesn't make us more brittle, and reduces configuration.



 Comments   
Comment by Anna Henningsen [ 11/Apr/23 ]

Nothing to do for us to account for this specific thing.

Generated at Wed Feb 07 22:44:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.