Support at+jwt
Types in JWT Realm
#119370
Labels
>enhancement
:Security/Authentication
Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)
Team:Security
Meta label for security team
Description
Some JWT providers (e.g. logto.io) only provie Access Token JWTs with a
typ
ofat+jwt
, but Elasticsearch currently only supports JWTtyp
es ofJWT
in the JWT Realm for authentication.Attempting to connect with such Access Token JWTs in Elasticsearch results in:
It may be that a custom JWT Decoder needs to be included in a SecurityFilterChain (or similar, depending upon how Elasticsearch implements such security), similar to the approach suggested for Spring applicaitons in https://github.com/logto-io/logto/blob/master/packages/console/src/assets/docs/guides/api-spring-boot/README.mdx
The text was updated successfully, but these errors were encountered: