I am new to openid and aad.
I have an API which calls a downstream Graph api. I was following the example below, https://joonasw.net/view/azure-ad-on-behalf-of-aspnet-core
Everything worked fine.
But the front end is a third party app, which access my API.
They said they are using opened connect to authenticate the user. They are following Auth grant flow(https://learn.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-oauth-code), so I expected then to have a JWTs access token. But when I try their access token, it says unauthorised. I tried to decode their access token using jwt.ms, but that did not work either.
Now my question is, is the access token got from ADAL.net authentication different from opened authentication? Is there a work around?
Any help really appreciated.
Thanks in advance.