I'm trying to use UseOAuthBearerAuthentication as external provider with IdentityServer.
I implemented my custom OAuthBearerAuthenticationProvider.
Using this provider I successfully redirect to external OAuth server.
Then external OAuth server posts back and I extract access_token from post data.
Then my custom ISecureDataFormat successfully extracts AuthenticationTicket from JWT token.
Then I would expect IdentityServer would do its magic and redirect back to client.
However instead it responds with 405 Method not Allowed.
It seems that there must be a thing that tells IdentityServer that claims were successfully extracted from external provider and it is OK to go ahead and redirect to client.
What is this thing I'm missing?
Thank you!
PS. I cannot find any samples with UseOAuthBearerAuthentication as external provider.
I'm trying to use UseOAuthBearerAuthentication as external provider with IdentityServer.
I implemented my custom OAuthBearerAuthenticationProvider. Using this provider I successfully redirect to external OAuth server. Then external OAuth server posts back and I extract access_token from post data. Then my custom ISecureDataFormat successfully extracts AuthenticationTicket from JWT token. Then I would expect IdentityServer would do its magic and redirect back to client. However instead it responds with 405 Method not Allowed.
It seems that there must be a thing that tells IdentityServer that claims were successfully extracted from external provider and it is OK to go ahead and redirect to client. What is this thing I'm missing?
Thank you!
PS. I cannot find any samples with UseOAuthBearerAuthentication as external provider.