An OAuth provider configuration file (oauthproviders.xml) is installed with the Policy Server. The provider configuration file contains configuration details of each provider and the protected application. If the file does not include the correct settings, authentication fails.
Information about the file:
Important! The values are samples only. We recommend that you verify all configuration settings with your OAuth provider before deploying the authentication scheme.
Follow these steps:
siteminder_home/config/properties
Specifies the Policy Server installation path.
Note: You do not need to create a separate oauthproviders.xml file per OAuth provider. Settings per provider are indicated within the file. You only need a separate oauthproviders.xml file per tenant.
Examples:
<OAuthProvider> </OAuthProvider>
<TrustedOAuthProviders> </TrustedOAuthProviders>
Identifies the OAuth provider for this node. Enter the name of the provider.
Note: Use lower-case when entering a provider name.
Provides the authorization server end-point URL for this provider. This URL must generate an authorization token after successful authentication of a user.
Google example: https://accounts.google.com/o/oauth2/auth
Facebook example: https://www.facebook.com/dialog/oauth
Provides an access token end-point URL. A user can query for an access token by exchanging authorization code along with application configuration details.
Google example: https://accounts.google.com/o/oauth2/token
Facebook example: https://graph.facebook.com/oauth/access_token
<Application> </Application>
Update values for the following settings:
Identifies the configuration for the OAuth registered application and the user authentication configuration. The end user must provide this identifier in the FCC page to use the configuration for the OAuth authentication.
Examples: googleapp, facebookapp
Specifies the registered application URL. Update the value of this setting with the same application redirect URL you entered during the application registration. Enter the URL using the following format:
https://cloudminder_host/siteminderagent/forms/oauthcb.fcc?SMQUERYDATA=Sample
Example: https://cloud.ca.com/siteminderagent/forms/oauthcb.fcc?SMQUERYDATA=Sample
Important! If the SecureURLs parameter for the CAM-AgentObj object is set to "No", instead enter the ApplicationURL as follows:
http://cloudminder_host/siteminderagent/forms/oauthcb.fcc
By default, the SecureURLs parameter is set to "Yes" during SiteMinder Policy Server installation. You can check the value of the SecureURLs parameter in the CSP Console. Log in to the CSP Console, then click Infrastructure, Agent, Agent Configuration Objects. Select CAM-AgentObj and click Edit. Page forward to the SecureURLs parameter.
Contains the identifier of the registered client application at the OAuth server. Update the value of this setting with the generated client ID. The authorization server provides this value when the application is successfully registered.
Indicates the secret associated with the ClientID. Update the value of this setting with the secret associated with the ClientID. The authorization server provides this value when the application is successfully registered.
Links the application with a provider. Specify the providername value of a defined provider. This application uses the provider configuration while performing OAuth authentication.
Examples: google, facebook
Specifies the required type of permission the application is requesting from the user. For example, if the scope value is https://www.googleapis.com/auth/userinfo.profile, the application can gain read-only access to basic user profile information.
This scope value is passed in the authorization token request. The client can use the code to access resource URLs, which are specified in the UserInfoURL attribute. Administrator can specify a single value or multiple space separated values for this attribute.
Designates a single URL or multiple space-separated URLs for which user information can be queried with the generated access token. The URL represents the resource the that client is trying access.
Specifies a user attribute. Update this value with the user identifying claim from the OAuth user information. The value of this attribute is used to disambiguate the user. For Google or Facebook, set the user attribute to "email."
|
Copyright © 2013 CA.
All rights reserved.
|
|