Microsoft IIS Integration
1. Classical Pool Mode
httpmodules
XML
<system.web>
<httpModules>
<add name="MonoSignAuthenticationModule" type="MonoSign.IISModule.MonoSignAuthenticationModule, MonoSign.IISModule" />
</httpModules>
appSettings
2. Integrated Pool Mode
webapp config
XML
<system.webServer>
<modules>
<add name="MonoSignAuthenticationModule" type="MonoSign.IISModule.MonoSignAuthenticationModule, MonoSign.IISModule" />
</modules>
</system.webServer>
appSettings
XML
<appSettings>
<add key="MONOSIGN_TOKEN_QUERYSTRING_NAME" value="ticket" />
<add key="MONOSIGN_LOGIN_URL" value="https://sso-demo.monosign.com?returnUrl={0}" />
<!--<add key="MONOSIGN_TOKEN_CHECK_URL" value="https://tebkeys.int.teb.com.tr/CAS/serviceValidate?service={0}&ticket={1}&clientIP={2}&renew=true" />-->
<add key="MONOSIGN_TOKEN_CHECK_URL" value="https://64a34f68-dfe8-4b99-9063-3be4793f9fed.mock.pstmn.io" />
<add key="MONOSIGN_TOKEN_CHECK_RESPONSE_TYPE" value="XML" />
<add key="MONOSIGN_SERVICE_NAME" value="http://localhost/MonoSign/Deneme" />
<add key="MONOSIGN_TOKEN_CHECK_USERNAME_PATH" value="response.userName" />
<add key="MONOSYNC_URL" value="https://app.monosync.in/api/v1/objects/TEbKeysUsers/search" />
<add key="MONOSYNC_API_KEY" value="1ca5fc1b-7a5b-4b82-ae05-f5f240741555" />
<add key="MONOSYNC_SOURCE_USERNAME_FIELD" value="TebKeysUserName" />
<add key="MONOSYNC_APPLICATION_NAME_FIELD" value="ApplicationName" />
<add key="MONOSYNC_TARGET_USERNAME_FIELD" value="AppUserName" />
<add key="MONOSIGN_AUTH_COOKIE_NAME" value="integratedApp" />
<!--Provider is MonoSign-->
<!--
<add key="MONOSIGN_API_URL" value="https://monosign-api.alkanlab.com"/>
<add key="MONOSIGN_IISAUTH_APPID" value="1812b401-f898-4e28-9cca-cb566c8e8718"/>
<add key="MONOSIGN_IISAUTH_APPKEY" value="ee00c9dc-23f2-4788-bdf6-e416c64e43a1"/>
<add key="MONOSIGN_PROVIDER" value="MonoSign"/>
-->
</appSettings>