Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for id_token (0.08 sec)

  1. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        protected LoginCredential processCallback(final HttpServletRequest request, final String code) {
            try {
                final TokenResponse tr = getTokenUrl(code);
    
                final String[] jwt = ((String) tr.get("id_token")).split("\\.");
                final String jwtHeader = new String(decodeBase64(jwt[0]), Constants.UTF_8_CHARSET);
                final String jwtClaim = new String(decodeBase64(jwt[1]), Constants.UTF_8_CHARSET);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt.go

    	}
    
    	claims["exp"] = time.Now().UTC().Add(defaultExpiryDuration).Unix() // update with new expiry.
    	return nil
    }
    
    const (
    	audClaim = "aud"
    	azpClaim = "azp"
    )
    
    // Validate - validates the id_token.
    func (r *Config) Validate(ctx context.Context, arn arn.ARN, token, accessToken, dsecs string, claims map[string]interface{}) error {
    	jp := new(jwtgo.Parser)
    	jp.ValidMethods = []string{
    		"RS256", "RS384", "RS512",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top