|
|
@@ -26,7 +26,7 @@ fn inputs(issuer: &str) -> RegisterInputs {
|
|
|
|
|
|
fn expected_body() -> serde_json::Value {
|
|
|
serde_json::json!({
|
|
|
- "client_name": "oauth2-wasm-demo",
|
|
|
+ "client_name": "d-OAuth-Client",
|
|
|
"token_endpoint_auth_method": "client_secret_basic",
|
|
|
"grant_types": ["authorization_code", "refresh_token"],
|
|
|
"response_types": ["code"],
|
|
|
@@ -43,7 +43,7 @@ fn registration_response(server: &MockServer) -> serde_json::Value {
|
|
|
"registration_access_token": "rat-1",
|
|
|
"registration_client_uri": format!("{}/register/client-1", server.uri()),
|
|
|
"redirect_uris": ["http://127.0.0.1:3000/callback"],
|
|
|
- "client_name": "oauth2-wasm-demo",
|
|
|
+ "client_name": "d-OAuth-Client",
|
|
|
"token_endpoint_auth_method": "client_secret_basic",
|
|
|
"grant_types": ["authorization_code", "refresh_token"],
|
|
|
"response_types": ["code"],
|