Auth0とのOpen ID Connectの設定

Hi @nidcode,

I hope it's fine to answer in English, the solution should be easy enough to spot even without the translation :slight_smile:
The error is stated in the exception: [Unexpected JWT issuer: https://xxxxx.auth0.com/]

You have configured Elasticsearch to think that the Issuer is https://xxxxx.auth0.com but the issuer is actually https://xxxxx.auth0.com/ (mind the trailing /) . These might look like URLs but are treated and compared as strings so https://xxxxx.auth0.com is not the same as https://xxxxx.auth0.com/

In summary:

Change

op.issuer: https://xxxxx.auth0.com

to

op.issuer: https://xxxxx.auth0.com/

and it will work just fine.

1 Like