Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,
i want to implement single sign on(SAML) concept in my asp.net project.

i have created a simple asp.net web application, from asp.net application button click,  i want to call another third party site without login again to that third party portal.

i have below  the details of that third party portal(which is ArgGis Web Builder portal).
 ApplicationId, tokenId, ClientId.

i tried to use the token and tried to redirect from asp.net but it's prompting me to login again there and after providing details it's redirecting successfully but i want to login there without prompting login.

it's basically user wants to login in asp.net application but user can user can visit another portal without login there(Token Based Authentication).

please let me know if i need to create any service from asp.net site , if then how do create service  or is it possible to use active directory with AD login.

Thanks

What I have tried:

i have just tried to call third party site using below code

<pre><a href="https://www.arcgis.com/sharing/rest/oauth2/authorize?client_id=iJpTdInAPMaH3EL8&response_type=token&expiration=20150&redirect_uri=http://desktop-6enj4k5:3344/webappbuilder/?id=5">KL Map</a>


tried to pass toeknId but don't know how to pass userid, password
Posted
Updated 25-Apr-17 1:27am
v2

1 solution

You can't log the client into a third party website via server-side code as these things rely on cookies. When you log in via your server code the cookie is attached to the response you get back in your server code. When the client then contacts the website it uses its own cookie store so it can't tell the site it is logged in. If you want to use a single sign on then all participating sites must implement the same SSO provider.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900