-
Notifications
You must be signed in to change notification settings - Fork 306
Closed
Description
Hi,
I've downloaded the latest version of Oauth Sample and followed the setup steps.
I get a callback with the authorization code okay, but the call to get the token from the code always fails with a webexception: "The remote server returned an error: (400) Bad Request."
Here is the request to get the token which is failing(the token and app name below are fake):
client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&client_assertion=ey0......iOiJSUI1NiIs&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&assertion=eyJ0...........XG-MLE9_w&redirect_uri=https://myapp-staging.azurewebsites.net/oauth/callback
and the Content-Type used is application/x-www-form-urlencoded as instructed.
Please advise.
Thanks,
SS
Metadata
Metadata
Assignees
Labels
No labels