Guide to configure Wild Apricot as an OAuth Server



If you want users to login to your WordPress site using their Wild Apricot credentials, you can simply do it using our WP OAuth Client plugin. Once you configure the Wild Apricot with WordPress plugin, you can allow users to SSO to your WordPress site using Wild Apricot.
Similarly, you can map your WordPress roles based on your Wild Apricot attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.

Follow the Step-by-Step Guide to configure Wild Apricot as an OAuth Server :

  • First of all, Login/ Signup in Wild Apricot account https://www.wildapricot.com/
  • Login using Admin credentials.
  • Under the Settings tab, click on the Integration option to continue.
  • apricot1
  • Click on Authorized Applications as shown in below image.
  • apricot2
  • Click on Authorize application as shown in the image below.
  • apricot3
  • From the list available select Server Application and click on continue.
  • apricot4
  • Enter Application name and then click on generate client secret.
  • Copy your Client ID and Client Secret and save it in your miniOrange OAuth Client Plugin/Module. (under client id and client secret field respectively).
  • Now click on save button above.
  • apricot5
  • To collect your account Id, click on the Account tab as shown in below image.
  • apricot6
  • Copy your account Id under Account # field to enter it into User Info Endpoint in your miniOrange OAuth Client Plugin/Module.
  • apricot7
    OAuth Single Sign On – SSO (OAuth client)

    Wild Apricot Endpoints and Scope:

    Client ID: from the step 8 above
    Client Secret: from the step 8 above
    Scope: auto
    Authorize Endpoint: https://<your_account_url>/sys/login/OAuthLogin
    Ex your_account_url is the url <organization_name.wildapricot.org>
    Access Token Endpoint: https://oauth.wildapricot.org/auth/token
    Get User Info Endpoint: https://api.wildapricot.org/v2.1/accounts/<account_id>/contacts/me
    Group User Info Endpoint: https://api.wildapricot.org/publicview/v1/accounts/<account_id>/contacts/<contact_id>

In case of Role Mapping, groups are mapped according to the group participation field in Group API's of Wild Apricot. Members from same group are mapped to some assigned role in Wordpress. When some member is deleted from Wild Apricot group then assigned role of that member also get deleted from Wordpress on next Single Sign On.

Free Trial

If you are facing any difficulty please mail us on info@xecurify.com.