fix: IDP login button styles (#869)

* fix: styling type on idp

* fix: google styling

* fix: google styling

* fix: google styling

* fix: remove logo src from angular

* fix: pr requests

* fix drop column migration

* fix: drop column migration

* fix: grant id
This commit is contained in:
Fabi
2020-10-19 17:10:02 +02:00
committed by GitHub
parent bb9747923c
commit 4eb380a825
43 changed files with 19230 additions and 10514 deletions

View File

@@ -797,7 +797,7 @@ message Idp {
google.protobuf.Timestamp creation_date = 3;
google.protobuf.Timestamp change_date = 4;
string name = 5;
bytes logo_src = 6;
IdpStylingType styling_type = 6;
oneof idp_config {
OidcIdpConfig oidc_config = 7;
}
@@ -807,7 +807,7 @@ message Idp {
message IdpUpdate {
string id = 1 [(validate.rules).string = {min_len: 1}];
string name = 2;
bytes logo_src = 3;
IdpStylingType styling_type = 3;
}
message OidcIdpConfig {
@@ -817,6 +817,11 @@ message OidcIdpConfig {
repeated string scopes = 4;
}
enum IdpStylingType {
IDPSTYLINGTYPE_UNSPECIFIED = 0;
IDPSTYLINGTYPE_GOOGLE = 1;
}
enum IdpState {
IDPCONFIGSTATE_UNSPECIFIED = 0;
IDPCONFIGSTATE_ACTIVE = 1;
@@ -831,7 +836,7 @@ enum OIDCMappingField {
message OidcIdpConfigCreate {
string name = 1 [(validate.rules).string = {min_len: 1, max_len: 200}];
bytes logo_src = 2;
IdpStylingType styling_type = 2;
string client_id = 3 [(validate.rules).string = {min_len: 1, max_len: 200}];
string client_secret = 4 [(validate.rules).string = {min_len: 1, max_len: 200}];
string issuer = 5 [(validate.rules).string = {min_len: 1, max_len: 200}];
@@ -865,7 +870,7 @@ message IdpView {
google.protobuf.Timestamp creation_date = 3;
google.protobuf.Timestamp change_date = 4;
string name = 5;
bytes logo_src = 6;
IdpStylingType styling_type = 6;
oneof idp_config_view {
OidcIdpConfigView oidc_config = 7;
}