Fixed imports from project name change

This commit is contained in:
David Allen 2024-02-23 16:34:28 -07:00
parent 02cbc2f2eb
commit 6c0f1303ac
3 changed files with 9 additions and 7 deletions

View file

@ -107,11 +107,11 @@ var loginCmd = &cobra.Command{
}
// fetch JWKS and add issuer to authentication server to submit ID token
jwk, err := api.FetchJwk("")
err = idp.FetchJwk("")
if err != nil {
fmt.Printf("failed to fetch JWK: %v\n", err)
} else {
api.AddTrustedIssuer(config.AuthEndpoints.TrustedIssuers, jwk.(string))
api.AddTrustedIssuer(config.AuthEndpoints.TrustedIssuers, idp.Key)
}
// use ID token/user info to fetch access token from authentication server