feat: allow skip of success page for native apps (#5627)

add possibility to return to callback directly after login without rendering the successful login page
This commit is contained in:
Livio Spring
2023-04-11 17:07:32 +02:00
committed by GitHub
parent b3d8787921
commit 8bf36301ed
32 changed files with 641 additions and 390 deletions

View File

@@ -163,6 +163,11 @@ message OIDCConfig {
description: "all allowed origins from where the API can be used";
}
];
bool skip_native_app_success_page = 20 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Skip the successful login page on native apps and directly redirect the user to the callback.";
}
];
}
enum OIDCResponseType {

View File

@@ -8773,6 +8773,11 @@ message AddOIDCAppRequest {
description: "Additional origins (other than the redirect_uris) from where the API can be used";
}
];
bool skip_native_app_success_page = 17 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Skip the successful login page on native apps and directly redirect the user to the callback.";
}
];
}
message AddOIDCAppResponse {
@@ -8943,6 +8948,11 @@ message UpdateOIDCAppConfigRequest {
description: "Additional origins (other than the redirect_uris) from where the API can be used";
}
];
bool skip_native_app_success_page = 16 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Skip the successful login page on native apps and directly redirect the user to the callback.";
}
];
}
message UpdateOIDCAppConfigResponse {