Closed Gaboxondo closed 3 years ago
Thanks for reaching out, we've added some check in our filter, to only check tokens issued by Azure AD. Please see #872. Could this solve your problem?
Hi @saragluna which tag did you created for this merge into master? i mean which version should I use? Thanks!
Hi, this merge has not been released yet. For the mentioned update, you could try our snapshot version of 2.2.5-snapshot.
Closing this issue. Because it's not active for a long time. If anyone have similar issue, please create issue in new repo: https://github.com/Azure/azure-sdk-for-java/issues
I am trying to develop an application with JWT security, but in this case I have two JWT filters:
In my case I have to be able to use both filters, that is, it must pass one filter OR another. If onle of the filters creates the autentication with the JWT token provided is enough to be able to make the request.
About the AADAppRoleStatelessAuthenticationFilter I have seen that it throws exception
So if something fails it does not pass to the next filter and retruns error.
In my own filter I dont send exceptions but I only generate the Auth in case of all validations are pass
Actually my Customfilter do and validate more things, but this is an example In this case if this filters fails it continue with the next filters no generating Authentication.
Who can achive that with microsoft AADAppRoleStatelessAuthenticationFilter filter?
Thanks in advance