feat: select idp and auto register (#2336)

* faet: auto regsiter config on idp

* feat: auto register on login

* feat: auto register on register

* feat: redirect to selected identity provider

* fix: test

* fix: test

* fix: user by id request org id

* fix: migration version and test

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Fabi
2021-09-10 09:49:49 +02:00
committed by GitHub
parent 79fb8aa37a
commit e4bdaf26b0
42 changed files with 272 additions and 111 deletions

View File

@@ -2428,6 +2428,7 @@ message AddOIDCIDPRequest {
description: "definition which field is mapped to the email of the user";
}
];
bool auto_register = 9;
}
message AddOIDCIDPResponse {
@@ -2458,6 +2459,7 @@ message UpdateIDPRequest {
description: "some identity providers specify the styling of the button to their login";
}
];
bool auto_register = 4;
}
message UpdateIDPResponse {

View File

@@ -38,6 +38,7 @@ message IDP {
oneof config {
OIDCConfig oidc_config = 7;
}
bool auto_register = 8;
}
message IDPUserLink {

View File

@@ -4884,6 +4884,7 @@ message AddOrgOIDCIDPRequest {
description: "definition which field is mapped to the email of the user";
}
];
bool auto_register = 9;
}
message AddOrgOIDCIDPResponse {
@@ -4928,6 +4929,7 @@ message UpdateOrgIDPRequest {
description: "some identity providers specify the styling of the button to their login";
}
];
bool auto_register = 4;
}
message UpdateOrgIDPResponse {