Site icon News Watchlist

Setting Up Single Sign-On (SSO) Between Joomla and Strava Using the Joomla OAuth & OpenID Connect Plugin

strava login

strava login

The Joomla OAuth & OpenID Connect Single Sign-On (SSO) plugin offers a secure way to log in to Joomla by utilizing Strava as an OAuth and OpenID Connect provider.

This plugin also supports other OAuth providers like Azure B2C and Office 365, allowing for versatile authentication options. This guide will walk through configuring SSO between Joomla and Strava, enabling seamless login functionality.

Step 1: Creating a Strava App

  1. Visit www.developers.strava.com and log in or register for a Strava account.
  2. Select “Create & Manage Your App” to create a new app.
  3. Enter the required application details, such as the app name and description.
  4. Upload an app icon and save your configurations.
  5. Your Client ID, Client Secret, and APP Token are on the app’s page. Copy these for later use.

If you’re interested in learning about the related content, check out the posts below:-

Step 2: Configuring Joomla as an OAuth Client

  1. Log in to your Joomla site’s administrator console.
  2. Navigate to System > Extensions and upload the downloaded zip file for the Joomla OAuth Client plugin.
  3. Go to Components > miniOrange OAuth Client > Configure OAuth tab.
  4. Select your OAuth Provider from the list or choose “Custom OAuth/Custom OpenID connect App” if your provider is not listed.
  5. Enter the Custom App Name, Client ID, and Client Secret obtained from Strava.
  6. Copy the Redirect/Callback URL provided and add it to the sign-in field of your OAuth Provider.
  7. Save the settings and click “Test configuration” to verify the connection with your OAuth Provider.
  8. Map the email and username attributes to the respective fields under the Test Configuration window and save the attribute mapping.
  9. Copy the email and name attributes and enter them in the Email Attribute and Name Attribute fields. Save the attribute mapping.
  10. The Login URL generated by the plugin can be used to perform SSO from your OAuth Provider to Joomla.

Step 3: Testing the SSO Configuration

  1. Log out of Joomla and navigate to the pages where you have added the SSO login button.
  2. Click on the button to initiate the SSO process.
  3. Congratulations! You have configured the Joomla OAuth Client plugin with Strava as the OAuth provider.

Conclusion: Following the steps outlined in this guide, you can seamlessly integrate Strava’s OAuth and OpenID Connect functionality with Joomla using the Joomla OAuth & OpenID Connect Single Sign-On plugin. This integration enhances the user experience by allowing secure login via Strava credentials. Enjoy the benefits of streamlined authentication and simplified user management on your Joomla website.

Exit mobile version