mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-23 15:44:50 +01:00
Refactor MintBuilder (#887)
* Refactor MintBuilder * Validate azp instead of aud for client id
This commit is contained in:
@@ -164,7 +164,7 @@ async fn refresh_access_token(
|
||||
.ok_or_else(|| anyhow::anyhow!("OIDC discovery information not available"))?
|
||||
.openid_discovery;
|
||||
|
||||
let oidc_client = OidcClient::new(openid_discovery);
|
||||
let oidc_client = OidcClient::new(openid_discovery, None);
|
||||
|
||||
// Get the token endpoint from the OIDC configuration
|
||||
let token_url = oidc_client.get_oidc_config().await?.token_endpoint;
|
||||
|
||||
Reference in New Issue
Block a user