Skip to content

Commit e639dea

Browse files
Add name in the provider response
1 parent dbea35b commit e639dea

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

plugins/user-authenticators/oauth2/src/main/java/org/apache/cloudstack/oauth2/api/response/OauthProviderResponse.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ public class OauthProviderResponse extends BaseResponse {
3434
@Param(description = "Name of the provider")
3535
private String provider;
3636

37+
@SerializedName(ApiConstants.NAME)
38+
@Param(description = "Name of the provider")
39+
private String name;
40+
3741
@SerializedName(ApiConstants.DESCRIPTION)
3842
@Param(description = "Description of the provider registered")
3943
private String description;
@@ -57,6 +61,7 @@ public class OauthProviderResponse extends BaseResponse {
5761
public OauthProviderResponse(String id, String provider, String description, String clientId, String secretKey, String redirectUri) {
5862
this.id = id;
5963
this.provider = provider;
64+
this.name = provider;
6065
this.description = description;
6166
this.clientId = clientId;
6267
this.secretKey = secretKey;

ui/src/components/view/InfoCard.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@
5454
</h4>
5555
</div>
5656
</slot>
57-
<slot name="provider">
58-
<h4 class="name">
59-
{{ resource.provider }}
60-
</h4>
61-
</slot>
6257
</div>
6358
<slot name="actions">
6459
<div class="tags">

0 commit comments

Comments
 (0)