Create Contact from enternal system

Brian McGovern asked on June 10, 2024 19:14

Users on my site authenticate through an external system. This authentication does not result in the normal .net forms authentication cookie. How do I go about creating contacts after login/register in this scenario? I already have a custom CurrentContactProvider implementation pulls the information about the current user and attempts to set the contact. However, there is a foreign key constraint that fails when I attempt to set the contact, it seems to need a user record.

Recent Answers

Brenden Kehren answered on June 10, 2024 19:46

Do you have an event in Kentico that sends them to or does something after they authenticate? The simplest thing to do would be to have a return page you send them to and perform that action with the user/contact data to perform your action in Kentico.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.