Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for id_token (0.21 sec)

  1. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

        protected static final String ERROR_DESCRIPTION = "error_description";
    
        protected static final String ERROR_URI = "error_uri";
    
        protected static final String ID_TOKEN = "id_token";
    
        protected static final String CODE = "code";
    
        protected long acquisitionTimeout = 30 * 1000L;
    
        protected Cache<String, Pair<String[], String[]>> groupCache;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. 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(Base64.decodeBase64(jwt[0]), Constants.UTF_8_CHARSET);
                final String jwtClaim = new String(Base64.decodeBase64(jwt[1]), Constants.UTF_8_CHARSET);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/utils.go

    	// code, which we now have in `lastReq`. Exchange it for a JWT id_token.
    	q := lastReq.URL.Query()
    	// fmt.Printf("lastReq.URL: %#v q: %#v\n", lastReq.URL, q)
    	code := q.Get("code")
    	oauth2Token, err := oauth2Config.Exchange(ctx, code)
    	if err != nil {
    		return "", fmt.Errorf("unable to exchange code for id token: %v", err)
    	}
    
    	rawIDToken, ok := oauth2Token.Extra("id_token").(string)
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top