Cookie Authentication Extension Module

Cookie Authentication Extension Module

This question is answered

Hi I am trying to implement the Cookie Authentication extension module in Telligent Community Server 6.1. See below the snippet from 'communityserver.config'.

<extensionModules enabled="true">
	<add name="CustomAuthentication"
				extensionType="Security"
				type="Telligent.Evolution.Security.CookieAuthentication, Telligent.Evolution.SecurityModules"
				allowAutoUserRegistration="true"
				authenticatedUserCookieName="CSUser"
				usernameKey="username"
				emailAddressKey="emailAddress"
				useEncryptedCookie="false"
				cookieValueStringFormat="Base64"
				cookieValueEncryptionFormat="SingleValue" />

However I keep getting an 'UnKnownProvider' exception with the following error:

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, l
Path: /login.aspx?ReturnUrl=%2Flogout.aspx as HTTP GET
Referrer: /logout.aspx
Message: The ExtensionModule CustomAuthentication has failed to load correctly
System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Telligent.Evolution.Components.ExtensionModule.Instance(Provider provider)

I am also using the 'CookieAuthTest.aspx' to create my cookie for a user who has access to the system. Which seems to be doing nothing...

Verified Answer
  • The type was incorrect!! I had copied the example from the comment! Doh!

All Replies
  • The type was incorrect!! I had copied the example from the comment! Doh!