single sign on - Kentor AuthService - Redirect to IDP from Browser URL -


in our asp.net project, using 'kentor.authservices' saml2 authentication service. testing purpose, using 'kentor.authservices.stubidp'.

currently gave anchor tag in page href as: href=@url.content("~/authservices/signin?idp=" + entityid)

this works fine , once click anchor tag, gets redirected identity provider: http://localhost:17009//samplepath/authservices/signin?idp=http://stubidp.kentor.se/metadata

but need achieve without using anchor tag,where directly enter our site url address in browser, should automatically redirect identity provider.

when using httpmodule, use forms authentication setup in web.config cause unauthenticated requests redirected sign in sequence.

<authentication mode="forms">     <forms loginurl="~/authservices/signin"></forms> </authentication> 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -