You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is related to Oauth.Demos.AuthzCodeGrant repository but its "Issues" option is disable: The problem:
After running the project, in the last step in the OAuth flow, I receive the following message: Cause:
Running the Fiddler I found out that Github expects an user-agent header:
Also the Github dev site mentions that setting the user-agent header is necessary. Solution:
Add the Github username or the name of the application as a "user-agent": The final result:
Hope it will helps someone!
The text was updated successfully, but these errors were encountered:
Many thanks for the issue. This sample is more than one year old and the GitHub User-Agent requirement is newer than that. I've just fixed it.
I've also opened the issues on the repository, so please feel free to create one if you any more issues.
Thanks!
The problem is related to Oauth.Demos.AuthzCodeGrant repository but its "Issues" option is disable:




The problem:
After running the project, in the last step in the OAuth flow, I receive the following message:
Cause:
Running the Fiddler I found out that Github expects an user-agent header:
Also the Github dev site mentions that setting the user-agent header is necessary.
Solution:
Add the Github username or the name of the application as a "user-agent":
The final result:
Hope it will helps someone!
The text was updated successfully, but these errors were encountered: