0

I am using .NET 6 - AddOAuth() method to configure the authorization code flow. After the authentication via token endpoint, I received access token but refresh token is missing.

As per Github's article, to enable refresh token we have to use 'opt-in' feature - https://developer.github.com/changes/2020-04-30-expiring-user-to-server-access-tokens-for-github-apps/ But if we follow the article this option is not present under 'Developer Settings -> OAuth Apps -> App Name '.

I also tried offline_access scope but still didn't got any access token.

Any help will be much appreciated.

subi_speedrunner
  • 901
  • 3
  • 9
  • 17

0 Answers0