This is a session-based login for Craft CMS 3.X that authenticates users via the Church Community Builder API.
- User submits a username and password through a form on the front end of your site.
- The plugin passes those creds to the "individual_profile_from_login_password" service of the CCB API.
- If the user exists in CCB, the plugin then fetches the user's profile, and the IDs of the groups this person is a part of.
- The plugin sets the authentication status and the user information as session variables.