So, I apologize in advance as I’m only now getting familiar with all the Oauth2 terminology.
I have an existing Drupal 7 site with its own active user base. The organization I support has recently partnered with another organization, and I need to provide access to the new organization’s users to the Drupal 7 site. So, I need to implement two specific functionalities:
- A “login with Partner Org” credentials option on the login page;
- On a re-direct from the partner organization, check if the user is logged in and authenticate them automatically if so.
The partner organization has provided me with an Oauth2 Client ID and Secret; and the re-direct URL is set for the Drupal 7’s members home page. I feel like I should mention that the D7 site currently doesn’t run HTTPS.
So, how does one go about implementing the following functionality? I’ve looked around, and it’s not really clear to me if this is something that I can implement with a contributed module, or if this is something that I have to do with a custom module?