Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
openig-5-or-more
openig-5-or-more
SALESFORCE - Issuer/ClientRegistration model configuration- IG >= 5

Wiki Markupcode
{
	"name": "SalesForceRegistration",
	"type": "ClientRegistration",
	"config": {
		"issuer": {
			"name": "salesforce",
			"type": "Issuer",
			"config": {
				"wellKnownEndpoint": "https://login.salesforce.com/.well-known/openid-configuration"
			}
		},
		"clientId": "<client_id><clientID>",
		"clientSecret": "****************",
		"scopes": [
			"openid", "id", "profile", "email", "address", "phone"
		],
		"tokenEndpointAuthMethod": "CLIENT_SECRET_POST"
	}	
}


 

When you use multiple providers for an "OAuth2ClientFilter" then you also need to set a "loginHandler" in the configuration. The following login handler returns a very basic page with links to the two providers listed above:

...