Skip to content

Commit

Permalink
Use non-deprecated Kibana SAML callback URL in smoke tests (#98883)
Browse files Browse the repository at this point in the history
/api/security/saml/callback is the correct URL, while /api/security/v1/saml is the deprecated URL.

See also: elastic/kibana#81733

Fixes: #99986

---------

Co-authored-by: Craig Rodrigues <[email protected]>
Signed-off-by: Athena Brown <[email protected]>
  • Loading branch information
rodrigc authored Oct 12, 2023
1 parent a009853 commit 9792e8b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/changelog/98883.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 99983
summary: Use non-deprecated SAML callback URL in SAML smoketests
area: Authorization
type: enhancement
issues:
- 99986
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ testClusters.matching { it.name == 'javaRestTest' }.configureEach {
setting 'xpack.security.authc.realms.saml.saml5.idp.metadata.path', 'saml-metadata.xml'
setting 'xpack.security.authc.realms.saml.saml5.idp.entity_id', 'http://idp.example.com/'
setting 'xpack.security.authc.realms.saml.saml5.sp.entity_id', 'http://kibana.example.net/'
setting 'xpack.security.authc.realms.saml.saml5.sp.acs', 'http://kibana.example.net/api/security/v1/saml'
setting 'xpack.security.authc.realms.saml.saml5.sp.acs', 'http://kibana.example.net/api/security/saml/callback'
setting 'xpack.security.authc.realms.saml.saml5.attributes.principal', 'uid'
// - Kerberos (configured but won't work because we don't want external fixtures in this test suite)
setting 'xpack.security.authc.realms.kerberos.kerb6.order', '6'
Expand Down

0 comments on commit 9792e8b

Please sign in to comment.