dylanplecki / KeycloakOwinAuthentication

Keycloak Authentication Middleware for the C# OWIN Pipeline
http://keycloak.jboss.org
MIT License
56 stars 130 forks source link

Question: applicable use-case for Owin? #40

Open magick93 opened 8 years ago

magick93 commented 8 years ago

Firstly, apologies if this is the wrong forum such a question.

I am wondering if Owin is suitable / capable of achieving the following use-case.

I have a c# dll that is basically a plugin in another system. This dll has no UI. It is basically taking messages from the host application, sending them to a server for processing and then receiving the response. The user/owner of the host application needs to be authenticated to use this dll. I was thinking that the user would have a KeyCloak service account, and therefore have a token in a properties file.

Is such a use case possible using KeycloakIdentityModel ?