locked
Linking mvc application inside a federated ADFS sharepoint 2010 site RRS feed

  • Question

  • User1754091919 posted

    Hi,

    I have a sharepoint 2010 intranet site which uses an Enterprise ADFS server to authenticate user.

    I need to provide a link within the intranet to another MVC3 application (not in SSO) hosted in same network which need to use the already authenticated user id / email for the application functionality.

    How can I achieve this more securely.

    DO I need to create a web service passing the entire saml to mvc application? or Create a secure url passing the userid / email to the mvc app?
    Or any other ideas?

    Thanks

    Venkat

    Monday, October 28, 2013 3:44 PM

All replies

  • User1779161005 posted

    Just make sure the other endpoint federateds with ADFS and then once they're redirected to the other app, the user will be redirected via ADFS then authenticated an dredirected back to the app. Standard SSO.

    Monday, October 28, 2013 7:46 PM
  • User1754091919 posted

    Actually I dont want the MVC app under SSO . All I need to have is the UserId to be passed from the Intranet in SSO to this mvc app in a secure way.

    Tuesday, October 29, 2013 10:20 AM
  • User-488622176 posted

    If your configuration is right, you can get the userid with HttpContext.Current.User.Principal

    Wednesday, October 30, 2013 8:08 AM