filter oidc broker import keys

This commit is contained in:
Bill Burke 2015-04-24 15:03:35 -04:00
parent 7395d6585c
commit 5fca18b3c0

View file

@ -1,26 +0,0 @@
package org.keycloak.broker.oidc;
import org.junit.Test;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public class OIDCIdentityProviderTest {
@Test
public void testUnsupportedKeyInput() throws Exception {
String json = "{" +
"\"version\":\"3.0\"," +
"\"issuer\":\"https://server.com:443\"," +
"\"authorization_endpoint\":\"https://server.com:443/oauth2\"," +
"\"token_endpoint\":\"https://server.com:443/token\"," +
"\"revocation_endpoint\":\"https://server.com:443/revoke\"," +
"\"userinfo_endpoint\":\"https://server.com:443/userinfo\"," +
"\"jwks_uri\":\"https://server.com:443/JWKS\"," +
"\"scopes_supported\"[\"phone\",\"address\",\"email\",\"openid\",\"profile\"]," +
"\"response_types_supported\":[\"code\",\"token\",\"id_token\",\"code token\",\"code id_token\",\"token id_token\",\"code token id_token\"]," +
"\"subject_types_supported\":[\"public\"]," +
"\"id_token_signing_alg_values_supported\":[\"HS256\",\"HS384\",\"HS512\",\"RS256\",\"RS384\",\"RS512\",\"ES256\",\"ES84\",\"ES512\"]} ";
}
}