I am trying to implement authenticating and identification on a cross-platform mobile application consuming a WebApi service.
My plan is to export the authentication to a federated cloud service, such as the new Azure Mobile Service. The Client Mobile application will consume the Mobile Service authentication flow, get a token, and will than have it sent inside the requests' headers to the WebApi, which in turn will validate it and extract the UserId from it.
Assuming I already configured the WebApi the validate JWT tokens using DelegatingHandler
interceptor,
is it possible to validate tokens issued by the Azure Mobile Service?
What would be the correct values for SymmetricKey, Issuer, and Audience?
Am I going in the right direction?