AuthorizationCodeProvider: Create is never called, how do I generate the authorization code?
- 阅读更多 关于 AuthorizationCodeProvider: Create is never called, how do I generate the authorization code?
I'm setting up my own OAuth2 server. So far, I have succesfully implemented GrantResourceOwnerCredentials in my implementation of OAuthAuthorizationServerProvider . Now, because I am developing an app for our business, I want to implement the OAuth2 Authorization Code grant. I have tried to follow directions here https://docs.microsoft.com/en-us/aspnet/aspnet/overview/owin-and-katana/owin-oauth-20-authorization-server but in my implementation, I have not found how to reach the Create call of the AuthorizationCodeProvider (which I set in OAuthAuthorizationServerOptions ). I have briefly checked