|In order to integrate your registration form with CRMdesk, you just need to generate the following URL:|
where <base64_encoded_info> consists from:
Password and Access parameters are optional and can be omitted.
Make sure that "My Stuff" tab is visible and the registration control is set to "Custom" or "Mixed" on the "Settings & Layout" subtab of the "Setup" tab.
Here is the sample code. You may even try it as is:
Save the customlogin.zip and extract it to C:\Inetpub\wwwroot\
Enter any email and name, and the system will login you to:
(That is a CRMdesk demo site).
You should be able to submit your questions because you already logged in.
You may enter any email address and name, and the system will create a new user if email address is new, or you will login as an existing user if that email address already exists.
This sample automatically generates base64 encrypted string in the required format (see above).
You need to switch registration to "custom" or "mixed" in the "Settings & Layout" page, as it is done in the following page:
Otherwise the login integration won't work.
Don't turn it to custom in your production site right away, until you prepare everything, otherwise your customers won't be able to login the old way.
We prepared this ASP sample for those who can't integrate ASPX pages with the company site, since ASP doesn't have a build-in functionality for base64 encryption.
Here is a fragment of .NET code that encrypts in base64:
MemoryStream m=new MemoryStream();
StreamWriter w=new StreamWriter(m);
See also Registration Control Overview