Software AG Products 10.5 | Administering API Portal | Configuring API Portal | Configuring User Registration | User Registration in API Portal with Social Login | OAuth Properties for Social Login
 
OAuth Properties for Social Login
If you are using social logins to provide access to your API Portal, you need to configure OAuth settings in UMC to authorize the portal to work with the social apps. Log on to UMC as Administrator, and then click the Configuration tab. Click OAuth in the left navigation pane. This displays the General and Advanced settings of OAuth properties that can be set. Click to modify the required properties. Alternatively, you can also edit these properties by clicking All in the left navigation pane and selecting for the required property.
com.aris.umc.oauth
com.aris.umc.oauth.active
Indicates whether OAuth is used for authenticating portal access from social logins. Set the value to true to enable users to log in with their social account. Set the value to false to disable social login, and restrict access to valid users with an account in the UMC. The default is false.
com.aris.umc.oauth.api.keys
A comma-separated list of API keys obtained from each social app provider used for login. The order of the values specified in this property should match the order of the values specified in the com.aris.umc.oauth.providers property.
com.aris.umc.oauth.api.secrets
A comma-separated list of API secrets obtained from each social app provider used for login. The order of the values specified in this property should match the order of the values specified in the com.aris.umc.oauth.providers property.
com.aris.umc.oauth.debug
Specifies whether debug level output is provided for OAuth operations. Set the value to true to enable detailed debug output. Set the value to false to disable debug output, and not provide detailed information. The default is false.
com.aris.umc.oauth.providers
A comma-separated list of OAuth providers for each social app used for login. Both values are optional. The list of providers specified here defines how many login possibilities are displayed. If, for example, only Google is configured, then the login page displays only Login with Google.
com.aris.umc.oauth.tenant
Specifies the default tenant used for social authentication. This value is read-only.
Sample Configuration for Google
In this example, we want to see full debug information for Google logins on the default tenant:
com.aris.umc.oauth.active=true
com.aris.umc.oauth.debug=true
com.aris.umc.oauth.providers=facebook,google
com.aris.umc.oauth.api.keys=facebook_key,google_key
com.aris.umc.oauth.api.secrets=facebook_secret_ID,google_secret_ID
com.aris.umc.oauth.tenant= default