Search for Cognito in the AWS Services search bar as shown below.
Click on Manage User Pools button to see the list of your user pools.
Click on Create a user pool to create a new user pool.
Add a Pool Name and click on the Review Defaults button to continue.
Scroll down and click on the Add App Client option in front of App Clients.
Enter an App Client Name and click on Create app client to create an App client.
Click on Return to Pool Details to come back to your configuration.
Click on Create Pool button to save your settings and create a user pool.
In the navigation bar present on the left side, click on the App Client Settings option under the App Integration menu.
Select Cognito User Pool checkbox under Enabled Identity Providers. Enter your Callback/Redirect URL which you will get from your miniOrange OAuth client module present on your Client side under the CallBack URls text-field. Select Authorization code grant checkbox under the Allowed OAuth Flows and also select openid and profile checkboxes under the Allowed OAuth Scopes option (Please refer to the image below). Click on the Save Changes button to save your configurations.
Click on Choose Domain Name option to set a domain name for your app.
Enter your Domain Name under the Domain Prefix text-field and click on the Save Changes button to save your domain name.
Click on App Clients option under the General Settings menu in the left side navigation bar. Then, click on the Show Details button to see your App details like Client ID, Client secret etc.
Copy the Client App ID and App Client Secret text field values and save them under your miniOrange OAuth client module present on the client side under the Client Id and the Client Secret text fields respectively.
You have successfully completed your AWS Cognito App OAuth Server side configurations.
Download the zip file for the miniOrange OAuth Client plugin for Joomla from the link here.
Login into your Joomla site’s administrator console.
Go to Extension Manage Install in the top navigation bar to install the plugin.
Upload the downloaded zip file to install the OAuth Client plugin.
Navigate to Extensions Manage Manage and search for miniorange in the Search bar provided to see the list of the components.
Enable all the below shown components of the plugin in order to continue using the plugin.
Go to Components MiniOrange OAuth Client in the top navigation bar to go to the configuration page of the plugin.
Register/ Login with miniOrange.
Go to the Configure OAuth tab in the plugin. FIll in the details you received from your OAuth Provider and click on the Save Settings button.
Select your OAuth Provider from the Select Application dropdown. In case your OAuth Provider is not listed in the drop down, please select Custom OAuth Provider to continue.
Copy the Redirect/Callback URL given in the plugin and save it in your OAuth Provider.
Click on the Test Configuration button and copy the email and name attributes and save these attributes in Email Attribute and Name Attribute text field respectively. Now click on the Save Attribute Mapping button to save your configurations.
Add a button on your site login page with the following URL: your_home_page/base_url/?morequest=oauthredirect&app_name=xxxxxxxxx.
You would find appropriate URL in Instructions to configure in the bellow section of Attribute Mapping.
Now logout and go to your site. You will see a login link where you placed that button.
Click on the Licensing Plans Tab to check out our complete list of features and various licensing plans.
In case, you are facing some issue or have any question in mind, you can reach out to us by sending us your query through the Support dialog box in the Account Setup and Configure OAuth tabs.
Congratulations, you have successfully configured the miniOrange OAuth Client plugin with your desired OAuth Provider. In case you have any questions in mind, you can always mail us at email@example.com.