I implemented SSO for my web applications with following architecture
Now conceptually it seems OK to me but what bothers me is the fact that all applications depend on SSO web api.
- if something changes in SSO Web Api, all applications could suddenly stop working - what is good approach of versioning Web API to make it backward compatible?
- If SSO API has DTO objects for users (username, email, roles, functions) that means I have to share them somehow with App1 and App2. I considered SOAP with wsdl but I would like to stick with Web API since its much more flexible client-wise and successor to WCF. One thing that comes to my mind is putting DTO objects of SSO API into separate class library project and referencing it in both App1 and App2?
EDIT: I need this for intranet applications with role/function based authorization