You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Kamil Kleszczewski <ka...@gmail.com> on 2022/06/10 13:12:09 UTC

JWT OpenID : Unclear error message when integrating with Azure AD

Hello,
Im trying to integrate solr with Azure AD.
But getting below error "invalid_token Required JWT claim missing" this
does not say much and does not point to which claim is missing.
When checking jwt token that solr gets I can see it contains below claims:
 'aud','iss','iat','nbf','exp','aio','azp','azpacr','name','oid','preferred_username','rh','roles','scp','sub','tid','uti','ver'
Can you point me to what is missing?

Best regards,
Kamil Kleszczewski

Re: JWT OpenID : Unclear error message when integrating with Azure AD

Posted by Aniket Khare <an...@gmail.com>.
I consider you already have configured security.json file with Azure AD
details.

Please verify if the below configuration is correct in that file.

"adminUiScope": "api://your-client-id/your-scope-name",


On Fri, 10 Jun, 2022, 7:17 pm Kamil Kleszczewski, <
kamil.kleszczewski1@gmail.com> wrote:

> Hello,
> Im trying to integrate solr with Azure AD.
> But getting below error "invalid_token Required JWT claim missing" this
> does not say much and does not point to which claim is missing.
> When checking jwt token that solr gets I can see it contains below claims:
>
>  'aud','iss','iat','nbf','exp','aio','azp','azpacr','name','oid','preferred_username','rh','roles','scp','sub','tid','uti','ver'
> Can you point me to what is missing?
>
> Best regards,
> Kamil Kleszczewski
>