Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseDiscoveryDoc (0.12 sec)

  1. internal/config/identity/openid/jwt.go

    	ClaimsSupported                  []string `json:"claims_supported,omitempty"`
    	CodeChallengeMethodsSupported    []string `json:"code_challenge_methods_supported,omitempty"`
    }
    
    func parseDiscoveryDoc(u *xnet.URL, transport http.RoundTripper, closeRespFn func(io.ReadCloser)) (DiscoveryDoc, error) {
    	d := DiscoveryDoc{}
    	req, err := http.NewRequest(http.MethodGet, u.String(), nil)
    	if err != nil {
    		return d, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    		}
    		seenClientIDs.Add(p.ClientID)
    
    		p.URL, err = xnet.ParseHTTPURL(configURL)
    		if err != nil {
    			return c, err
    		}
    		configURLDomain := p.URL.Hostname()
    		p.DiscoveryDoc, err = parseDiscoveryDoc(p.URL, transport, closeRespFn)
    		if err != nil {
    			return c, err
    		}
    
    		if p.ClaimUserinfo && configURL == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top