I have a mobile app that uses RESTful calls to a ASP.NET Core apis and Angular 2 app that is doing RESTful calls as well. I am also using Identity Core to authenticate users (Identity 3.0).
I want to issue a bearer token based on the Identity framework and authenticate users using Resource Owner Password Credentials Grant (that is simply giving my website the username and password and it will issue a token, as this is a trusted environment).
- Is there an easy configuration within ASP.NET CORE 1.0 RTM to do this?
- AspNet.Security.OpenIdConnect.Server I am looking at this one and it looks like a smaller version of OpenIdDict, but the author mentions it is for Owin/Katana, I am not using any.
- OpenIdDict is a framework that does this, but first it is Alpha release and second it requires a separate website which will incur extra maintenance and performance hit to communicate via HTTP to another server.
- IdentityServer4 which looks too big for what I want to achieve and I am not sure if it integrates with Identity Core and I am only interested in the password grant. And it looks like it requires a separate website.
I would appreciate if you clarify the picture of the points above and let me know if these are my only options or am I missing something.
I don't want to be a public identity provider, I want to simply issue tokens for my own users.