sf
parameter (starting at 1) Allow SalesForce auth besides auth plain
Deze uitbreiding is al meer dan 2 jaar niet meer geupdated. Misschien worden hij niet langer onderhouden of ondersteund. Er kunnen compatibiliteitsproblemen zijn.
Vergelijkbaar met oauth
This plugin allows users to login with their Salesforce account in addition to the default plain authentication backend. Up to three Salesforce instances can be used.
External requirements: This plugin requires the following additional components that must be installed separately:
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
For the setup of this plugin you have to follow the steps below in the given order.
You need to register an App with oAuth access in Salesforce.
Setup
Create
under App Setup
in the left hand navigationApps
New
buttonhttp://example.com/dokuwiki/doku.php?do=login&u=sf&p=sf&sf=1
1)Consumer Key
and Consumer Secret
strings shown in the Overview after saving. These will have to be configured in DokuWiki later.To be able to assign DokuWiki-specific groups to user accounts, you need a custom field.
Setup
Customize
under App Setup
in the left hand navigationUsers
Fields
new
in the User Custom Fields
section (page bottom)You now can add Groups to your users that will be picked up by DokuWiki. DokuWiki will add the default group (configured in DokuWiki) and the instance name (salesforce1, salesforce2, salesforce3) to theses groups automatically.
This allows you to embed DokuWiki in a Tab of your SalesforceInstance and have users automatically authenticated in it. This requires that your wiki is available under https.
To create the web tab:
Setup
Button or Link URL
&sessionId={!API_Session_ID}&instance={!API_Enterprise_Server_URL_240}&user={!User_ID}
to it. Eg. http://example.com/dokuwiki/doku.php?do=login&u=sf&p=sf&sf=1&sessionId={!API_Session_ID}&instance={!API_Enterprise_Server_URL_240}&user={!User_ID}
URL for Link URL
In DokuWiki you can configure the plugin via the Configuration Manager Plugin. Fill in the Consumer Key
and Consumer Secret
you got at the end of the first Salesforce step.
Be sure to set the authtype settting to sfauth
.
As username the plug-in will use the e-mail address provided by sales force.
In some cases you may want to strip away the host part from the e-mail address to have
nice names. To provide a unique username this feature is limited to one host.
Just set the owners domain option to your domain. I.e.: example.com
.
This plugin allows you to configure up to 3 Salesforce instances users may log in from. You have to repeat the Salesforce Setup steps above in each instance.
It is possible that one user is configured in multiple of the instances. She will be identified by her contact email (not her salesforce login). However the groups will always be pulled from the instance the user logged in from.
You can use the groups salesforce1
, salesforce2
and salesforce3
groups to differentiate between users from different instances.
sf
parameter (starting at 1)