cancel
Showing results for 
Search instead for 
Did you mean: 

Custom user registration module

Custom user registration module

First of all I am new to Magento development 

I need to implement a new feature in magento

  • There will be a autologin button in another website which will send a post request to my custom login view, the post request will contain user Id of external system and password {username and password in two systems will be same}
  •   In my controller action I need to check whether the user is already exist in the system
  • if yes auto-login that user 
  • if no send get request to external system api and get user details and auto-register user then auto-login

Which is the best approach for this problem ? I would like to create new module for this. Is that a good approach ?