It can be a student, teacher, administrator or any other depending on your application.Īdd the provider roles under Group Attribute Value and assign the required WordPress role in front of it under WordPress Role.įor example, in the below image. Assign WordPress role to the Provider role: Based on your provider application, you can allocate the WordPress role to your provider roles.Select the attribute name from the list of attributes which returns the roles from your provider application. Enable Role Mapping: To enable Role Mapping, you need to map Group Name Attribute.Refer to the screenshot for more details. From the Test Configuration window, map the Attribute Names in the Attribute Mapping section of the plugin.Click on “Test Configuration” and you will get the list of Attribute Names and Attribute Values that are sent by your OAuth provider.Once you see all the values in Test Configuration, go to Attribute / Role Mapping tab, you will get the list of attributes in a Username dropdown.If you don't see value for First Name, Last Name, Email or Username, make the required settings in your OAuth Provider to return this information. You will see all the values returned by your OAuth Provider to WordPress in a table.Scroll down and click on Test Configuration. We will be setting up user profile attributes for WordPress using below settings. User Attribute Mapping is mandatory for enabling users to successfully login into WordPress.You have successfully configured WordPress as OAuth Client for achieving Instagram login into your WordPress Site. Choose your Grant Type from the list of options & Click on Save Settings to save the configuration.Configure App Name, Client ID, Client Secret, Domain from Instagram SSO application.Go to Configure OAuth tab and search your application name to add a new client application into your website, Here Instagram.Verify the configuration details and click on Finish to save the configuration.Enter the scope value as user_profile, user_media. Enter the client credentials like Client ID & Client Secret as shown in the setup dialogue box.Copy and paste the endpoints from the below table.įrom the instagram application configuredĬustom redirect URL after logout: Copy the Callback URL to be used in OAuth Provider Configuration and click Next.Choose your Application from the list of OAuth / OpenID Connect Providers, Here Instagram.Go to Configure OAuth tab and click Add New Application to add a new client application into your website.You have successfully configured Instagram as OAuth Provider for achieving Instagram login into your WordPress Site. Click on the Save button to save the configuration and click on the Test Configuration.Enter the scope and endpoints given in below table.Enter the Client ID and Client Secret generated from instagram application.Go to the Configure OAuth tab and select Custom OAuth 2.0 App from the Custom Applications list.Activate the OAuth Single Sign-On SSO (OAuth Client) plugin.You can follow these steps to create application for Instagram. In order to generate Client ID and Client Secret, you will need to create Instagram Application. Get this plugin WordPress OAuth&OpenID Single Sign-On(SSO) Steps to configure Instagram Single Sign-On (SSO) Login into WordPress 1.
0 Comments
Leave a Reply. |