Add UserClouds to your software
You’ve already created your first application in UserClouds. Nice job! This page shows how to set up UserClouds Authentication on your software.
1. Specify your allowed Redirect and Logout URLs
From your Tenant’s Authentication page in UserClouds, click on your Default Application to access this Application’s Settings page. From here, you can specify the exact URLs you want to allow as:
- OIDC/OAuth2 callback URLs: this is where UserClouds will redirect your user to after they authenticate.
- Auth logout URLs: this is where UserClouds will redirect your user to after they log out.
Remember to click Save to apply this change!
2. Cut and paste your UserClouds settings into the sample app code
Each UserClouds application has four key attributes: an application ID, an application name, a client ID and a client secret. You will need your Client ID and Client Secret, when you use your TenantURL to call UserClouds's APIs.
Before you use the sample code elsewhere, make sure you replace the sample app’s instances of these variables with your application’s attributes. You can find these on your Application’s Settings page.
3. Implement UserClouds in your software
Use the sample code (or any other OIDC library you like) as a template to add UserClouds to your application.
Great job! You’re all set up.
Looking for more info about setting up Authentication in UserClouds? Drop us a note at [email protected].
Updated about 1 year ago