asp.net mvc - OWIN OpenIdConnect Single Sign On with Office 365 -
i have managed single sign on over azure active directory openidconnect middleware:
app.useopenidconnectauthentication( new openidconnectauthenticationoptions { authenticationmode = authenticationmode.passive, clientid = "{guid}", authority = "https://login.microsoftonline.com/common/", tokenvalidationparameters = new tokenvalidationparameters { validateissuer = false } });
we use multi-tenant application on azure , based on tenantid
on returned token check whether user allowed (check tenantid
our database whether comes our trusted clients).
it works fine, if client single sign on our application. have sync users azure active directory , configure tenantid
on our application.
the thing is, assume clients have office 365. sync company user accounts office 365 , take advantage user accounts on office 365 , single sign on this.
i know office 365 built on top of azure, , can configure make our application works our company user accounts getting office 365 tenantid
(the way got code debugging):
but 1 thing not sure office 365 tenantid
different between companies right, example: both company , company b uses office 365, office 365 tenantid
different between company , company b?
if yes, how tenantid
office 365 (not debugging did).
also, please advise if way not work office 365 single sign on.
there sample project in officedev repository on github walks through scenario. here link blog post describes project.
Comments
Post a Comment