Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetJwksUri (0.09 sec)

  1. security/pkg/server/ca/authenticate/oidc.go

    // which enable OIDC.
    func NewJwtAuthenticator(jwtRule *v1beta1.JWTRule, meshWatcher mesh.Watcher) (*JwtAuthenticator, error) {
    	issuer := jwtRule.GetIssuer()
    	jwksURL := jwtRule.GetJwksUri()
    	// The key of a JWT issuer may change, so the key may need to be updated.
    	// Based on https://pkg.go.dev/github.com/coreos/go-oidc/v3/oidc#NewRemoteKeySet
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context.go

    		jwtPolicies := ps.AuthnPolicies.GetJwtPoliciesForWorkload(forWorkload)
    		for _, cfg := range jwtPolicies {
    			rules := cfg.Spec.(*v1beta1.RequestAuthentication).JwtRules
    			for _, r := range rules {
    				if uri := r.GetJwksUri(); len(uri) > 0 {
    					jwksInfo, err := security.ParseJwksURI(uri)
    					if err == nil {
    						hosts.Insert(jwksInfo.Hostname.String())
    					}
    				}
    			}
    		}
    	}
    	return hosts
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top