Saml sso login error in kibana

Hi,

I am facing issue on saml sso login, the main problem is I already done setting in kibana.yml.
But it is giving same error.
I am using these setting in kibana.yml and restarted elasticsearch and kibana,
{"statusCode":400,"error":"Bad Request","message":"Request must contain a kbn-xsrf header."}
Above error coming after sso login redirection on
https"//myurl:8080/api/security/saml/callback
my settings in kibana.yml for saml sso login

xpack.security.authc.providers: [saml]
xpack.security.authc.saml.realm: saml1
server.xsrf.whitelist: [/api/security/v1/saml]

After also restarted elasticsearch and kibana

Change

to

server.xsrf.whitelist: [/api/security/saml/callback]

Now it's working.

Thanks