Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseJwtClaim (0.06 sec)

  1. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            String jwtClaim =
                    "{\"email\":\"******@****.***\",\"sub\":\"1234567890\",\"name\":\"John Doe\",\"groups\":[\"group1\",\"group2\"]}";
    
            // Execute
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            // Verify
            assertEquals("1234567890", attributes.get("sub"));
            assertEquals("John Doe", attributes.get("name"));
    
            // Check groups array
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top