Use PHP to integrate Single Sign On between your website and your
Website Toolbox Forum. Code and examples are included for integrating log in, log out, sign up, deleting, and updating the account.
Provide values for the variables at the top of
forum_sso_functions.phpin your website's PHP files wherever you need to integrate Single Sign On.
Copy code from the
examplesinto your own website's files.
Specify your sign up, log in, and log out page URLs in the
Single Sign On settings.
You can read our
SSO documentation to understand how the approach works.
This example uses
cURL to make HTTP requests. Most servers have cURL pre-installed. If you don't have the cURL php extension installed on your server, you can
install it or use a different method to make HTTP requests.