I am trying to implement an SSO system for Drupal system. The detailed description of the scenario can be seen in "Understanding Drupal's session management and user authentication".
I did implement the authentication part, as per the using the suggestions provided (thanks to Pierre Buyle). Now, I have a requirement to add the users to Drupal database which are already present in SSO database.
The IT team of SSO will create a form which will post this values to a URL on the Drupal site.
This URL have to catch the request and create a user in Drupal. I'll be using the method
user_save() to achieve this.
My questions are:
- How do I create this URL in Drupal? (Thought of using
$itemsto create the URL, but I don't want it to be accessible to users except admin.
- How could I read the data from that URL?
I'm not asking for the complete code. Just pointers to which hooks or methods should I use for the use cases would be enough.