API
Version 7.x > API > Question about external authentification View modes: 
User avatar
Certified Developer 8
Certified Developer 8
robert.siklenka-syzag - 12/5/2013 2:07:48 AM
   
Question about external authentification
Hello, I need to integrate external authentification to my Kentico Project. I want to do some http request on Logon Form after logon button click that validate my credentials and then when my Response OK is do logon or Registration if it is a new user. Have you any ideas how to do this?
Thanks Robert

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 12/5/2013 2:35:09 AM
   
RE:Question about external authentification
Hi,

Thank you for your message.

In this case I would recommend you to create your own webpart as per http://devnet.kentico.com/docs/devguide/index.html?developing_web_parts.htm which will have some input text boxes and log in button which on click fire your code. You will need to code this webpart as per your needs.

Once you have your authentication sorted out you can insert/authenticate the user using our API in UserInfo, UserInfoProvider and AuthenticationHelper classes. You can see examples of all those actions at http://devnet.kentico.com/docs/devguide/membership_api_examples_managing_users.htm

Let us know for further assisance.

Kind regards,
Richard Sustek

User avatar
Certified Developer 8
Certified Developer 8
Robert-SYZ - 12/5/2013 2:03:36 PM
   
RE:Question about external authentification
Hello Richard,
thanks for your answer it was very helpful.
Best regards Robert