Identify okta account on sign-in

会有一股神秘感。 提交于 2019-12-12 05:46:07

问题


I have an MVC application (.Net Framework 4.5) which is been there for the last three years and using Forms Authentication mechanism. This application provides different accounts like Personal, freebie, Enterprise etc. For an enterprise account, we are handling everything in the same application. I.e. Suppose an enterprise called “xyz” created an enterprise account with the application, then we are providing a custom url like “https://application/xyz/login” and from the url we are identifying that enterprise. I don’t know the exact reason why they implemented like this as I have seen applications that’s having enterprise accounts are created as sub domains (e.g. https://xyz.okta.com). Since the application is live I couldn’t modify the existing system. Now I want to integrate Okta into it. With the help of this blog post https://stackoverflow.com/questions/43980281/programatically-configure-sso-settings-using-kentor I was able to configure the settings from code. I’m planning to store all configuration related things(Single sign-on URL, Audience URI etc) in the database. In an identity provider instantiated flow is there any way I can identify that the call is from which okta enterprise account?

来源:https://stackoverflow.com/questions/44005770/identify-okta-account-on-sign-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!