We’re trying to consume a JWT access token within a “restful” WCF (webHttpBinding). We are using .NET 4.7 Framework (System.ServiceModel v22.214.171.124). The code is running on a Windows 10 machine (this is a PoC).
Obtaining the token
We obtain the token in a normal dotnet-core web application, as illustrated here: https://auth0.com/docs/quickstart/webapp/aspnet-core/01-login#obtain-an-access-token-for-calling-an-api
Consuming the token
We have tried to adapt the example found on github: https://github.com/auth0/auth0-wcf-rest-sample/tree/master/Wcf-Sample-Net4 but this example shows using a Symmetric key
This doesn’t appear in the dotnet-core web API example: https://github.com/auth0-samples/auth0-aspnetcore-webapi-samples/tree/master/Quickstart/01-Authorization
Does anyone have a working example of authorizing a call to WCF by accepting a JWT access token?