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

testing - Detect whether test has failed within fixture -

Android: SharingActionView on swipe from bottom -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -