diff --git a/.changelog/2793.txt b/.changelog/2793.txt new file mode 100644 index 00000000000..ee91155c4a0 --- /dev/null +++ b/.changelog/2793.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/access_application: add `skip_app_launcher_login_page` flag to skip the App Launcher landing page +``` diff --git a/access_application.go b/access_application.go index bdeaf79cd8d..ec1dfcc62eb 100644 --- a/access_application.go +++ b/access_application.go @@ -250,11 +250,12 @@ type SaasApplication struct { } type AccessAppLauncherCustomization struct { - LandingPageDesign AccessLandingPageDesign `json:"landing_page_design"` - LogoURL string `json:"app_launcher_logo_url"` - HeaderBackgroundColor string `json:"header_bg_color"` - BackgroundColor string `json:"bg_color"` - FooterLinks []AccessFooterLink `json:"footer_links"` + LandingPageDesign AccessLandingPageDesign `json:"landing_page_design"` + LogoURL string `json:"app_launcher_logo_url"` + HeaderBackgroundColor string `json:"header_bg_color"` + BackgroundColor string `json:"bg_color"` + FooterLinks []AccessFooterLink `json:"footer_links"` + SkipAppLauncherLoginPage *bool `json:"skip_app_launcher_login_page,omitempty"` } type AccessFooterLink struct { diff --git a/access_application_test.go b/access_application_test.go index 1783863950b..d4308560883 100644 --- a/access_application_test.go +++ b/access_application_test.go @@ -1292,7 +1292,8 @@ func TestCreateApplicationWithAccessAppLauncherCustomization(t *testing.T) { "url": "https://somesite.com", "name": "bug" } - ] + ], + "skip_app_launcher_login_page": true } } `) @@ -1332,6 +1333,7 @@ func TestCreateApplicationWithAccessAppLauncherCustomization(t *testing.T) { Name: "bug", }, }, + SkipAppLauncherLoginPage: BoolPtr(true), }, } @@ -1357,6 +1359,7 @@ func TestCreateApplicationWithAccessAppLauncherCustomization(t *testing.T) { Name: "bug", }, }, + SkipAppLauncherLoginPage: BoolPtr(true), }, })