File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -318,6 +318,7 @@ async function discoverConfiguration(issuer: string | URL) {
318318// Find JWKSet URI for auth issuer with OIDC
319319const issuer = config . get ( 'oidc.issuer' ) ;
320320const { jwks_uri : jwksUrl } = await discoverConfiguration ( issuer ) ;
321+ fastify . log . debug ( { jwksUrl } , `Loaded OIDC configuration for ${ issuer } ` ) ;
321322
322323// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
323324await fastify . register ( fastifyJwtJwks , {
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ await fastify.register(formats);
9797
9898const issuer = config . get ( 'oidc.issuer' ) ;
9999const configuration = await discoverConfiguration ( issuer ) ;
100+ fastify . log . debug ( { configuration } , `Loaded OIDC configuration for ${ issuer } ` ) ;
100101
101102const wellKnownOptions = {
102103 resources : {
You can’t perform that action at this time.
0 commit comments