简体   繁体   中英

How do I import Okta metadata into Visual Studio 2013?

I am creating an MVC5 web app that needs federated authentication. We are using Okta. When I create a new Web App, I choose 'Organizational Accounts' for authentication, 'On-Premises', for On-Premises Authority I put in the URL of the Okta meta data, for App ID URI I put in ' https://localhost/Okta ', which is what is configured in Okta for the relying party.

When I proceed to create the solution I get an error box titled 'Enable Organizational Authentication' and inside it says 'userSelection.SecurityTokenServiceMetadata.SecurityTokenServiceDescriptor' and that is all. No output in my output window to help.

Can anyone help me get connected to Okta when creating a new MVC5 app in VS2013?

What you probably want to do is add support for WS-Federation to your MVC5 application.

Here is a guide to configuring WS-Federation in Okta . Since you are using MVC5, you'll likely need to set up WS-Federation in OWIN .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM