We\'ve implemented external authentication (openid code flow) using OWIN middleware for an asp.net MVC project. Everything works fine and we get an access token for API auth