Skip to content

Commit beb87fc

Browse files
committed
Review#1: handle review comments.
1 parent 244df16 commit beb87fc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

x-pack/plugins/security/server/authentication/authenticator.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ describe('Authenticator', () => {
112112
).toThrowError('Provider name "__http__" is reserved.');
113113
});
114114

115-
it('properly set `loggedOut` URL.', () => {
115+
it('properly sets `loggedOut` URL.', () => {
116116
const basicAuthenticationProviderMock = jest.requireMock('./providers/basic')
117117
.BasicAuthenticationProvider;
118118

x-pack/plugins/security/server/authentication/providers/saml.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ describe('SAMLAuthenticationProvider', () => {
247247
{ requestId: 'some-request-id', redirectURL: '', realm: 'test-realm' }
248248
)
249249
).resolves.toEqual(
250-
AuthenticationResult.redirectTo('/base-path/', {
250+
AuthenticationResult.redirectTo('/mock-server-basepath/', {
251251
state: {
252252
accessToken: 'user-initiated-login-token',
253253
refreshToken: 'user-initiated-login-refresh-token',

x-pack/plugins/security/server/authentication/providers/saml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider {
283283
? await this.performIdPInitiatedSingleLogout(request)
284284
: state
285285
? await this.performUserInitiatedSingleLogout(state.accessToken!, state.refreshToken!)
286-
: // Once Elasticsearch can consume logout response we'll be sending it here.
286+
: // Once Elasticsearch can consume logout response we'll be sending it here. See https://github.com/elastic/elasticsearch/issues/40901
287287
null;
288288

289289
// Having non-null `redirect` field within logout response means that IdP

0 commit comments

Comments
 (0)