How to set requestTenant throught jwt?

Version Info:

Elasticsearch version:6.1.2, Search Guard Version: 6.1.2; Kibana: 6.1.2;

JVM version: 1.8.0_131, Win 10;

Problem:

Can’t set requestedTenant through jwt.

sgtenant is a http header you need to set. It has nothing to do with jwt.
See Kibana Multitenancy | Security for Elasticsearch | Search Guard

···

Am 02.02.2018 um 02:35 schrieb Johnson C <cheng.qiaosheng@gmail.com>:

Version Info:
Elasticsearch version:6.1.2, Search Guard Version: 6.1.2; Kibana: 6.1.2;
JVM version: 1.8.0_131, Win 10;

Problem:

Can't set requestedTenant through jwt.

--
You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/7466253b-6c3e-4059-9f90-e64c6c563950%40googlegroups.com\.
For more options, visit https://groups.google.com/d/optout\.

What is the use case you are trying to implement? Do you want to set a specific tenant when accessing Kibana?

You can set tenants also in the Kibana URL by adding the sg_tenant parameter to the URL:

http://localhost:5601/app/kibana?sg_tenant=human_resources#/home?_g=()

···

On Friday, February 2, 2018 at 8:40:40 AM UTC+1, Search Guard wrote:

sgtenant is a http header you need to set. It has nothing to do with jwt.

See http://docs.search-guard.com/latest/kibana-multi-tenancy

Am 02.02.2018 um 02:35 schrieb Johnson C cheng.qiaosheng@gmail.com:

Version Info:

Elasticsearch version:6.1.2, Search Guard Version: 6.1.2; Kibana: 6.1.2;

JVM version: 1.8.0_131, Win 10;

Problem:

Can’t set requestedTenant through jwt.


You received this message because you are subscribed to the Google Groups “Search Guard Community Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.

To post to this group, send email to search-guard@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/7466253b-6c3e-4059-9f90-e64c6c563950%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.