IdentityModel / IdentityModel.AspNetCore

ASP.NET Core helper library for claims-based identity, OAuth 2.0 and OpenID Connect.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grant_type

Sendell opened this issue · comments

Besides the open issue/feature request for custom grant_types, I was wondering how to add support for grant_type "password". Which is within the OAuth specification as far as I can tell (I'm not at all an expert)

Looking through the source I think I can see it being partially supported by the IdentityModel project. But I'm not capable of implementing this quickly.

And if I set the GrantType manually it gets overwritten in
HttpClientTokenRequestExtensions.RequestClientCredentialsTokenAsync

As I currently only need to change that, I was wondering if there is a quick way to override that behaviour.

Password is not recommended nor supported.

This library focuses on 2 use cases: interactive web apps with code flow and machine to machine communication with client credential flow.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.