Enabled JWT Authentication for Opensearch

Hi @pablo

The below Topics are inter-related with each other.

We want display embedded Opensearch Dashboards within an iframe in our website. The iframe tag should be ssl enabled, hence we tried creating certs and followed the official documentation to configure TLS. However, the iframe was redirecting to Login page, to bypass that we enabled anonymous_auth, and enabled JWT Authentication to pass the token in the URL, which resolved the issue. But anonymous_auth doesn’t have required privileges to create index, dashboard or anything. I tried mapping the backend role to admin as well, which is again giving errors.

Kindly help.