Changing Domain/URL¶
If you need to change the URL of the provider you login to Huddo Boards with (and possibly your Huddo Boards deployment along with it), you must perform the following steps in order to maintain access to existing content:
- Update the client definition by the admin UI or database
- Obtain updated licence
- Update the YAML configuration
- Deploy the changes
Client Definition¶
Warning
This step must be performed before updating the licence and YAML configuration. Otherwise you may end up with duplicate clients in the licence and/or configuration.
via the admin UI¶
Tip
If the deployment is still accessible, use this method to change the URL
-
Log in to your Huddo Boards deployment as an administrator
-
Click on the
Admin Settings
icon in the top right menu -
Click on your Organisation
-
Click on the Client (authentication provider) you are changing
-
Update the URL to the new URL. This is labelled slighlty differently depending on the provider, e.g.
Connection URL
,Domino URL
,DX URL
etc.Click
Save
to apply the changesNote
This should be automatically reflected in the
ExternalId
as<base64(new-url-hostname)>
via the database¶
Tip
If the deployment is no longer accessible, use this method to change the URL by updating the database directly
- Follow this guide to access the database for your Huddo Boards deployment
-
Switch to the user database
use boards-user
-
Update the client url & externalId
db.clients.update({ 'oAuth.baseURL': 'https://<OLD_URL>'}, { $set: { 'oAuth.baseURL' : 'https://<NEW_URL>', externalId: '<BASE_64_ENCODED_NEW_URL_HOSTNAME>'}})
Where:
<OLD_URL>
is the old URL of your deployment<NEW_URL>
is the new URL of your deployment-
<BASE_64_ENCODED_NEW_URL_HOSTNAME>
is the base64 encoded hostname of the new URL of your deploymentWarning
Ensure you only encode the hostname, not the full URL. For example if your
https://new-url.com
would mean encoding justnew-url.com
, which equalsbmV3LXVybC5jb20=
Licence¶
After updating the URL in the Client, you also need to update the licence to reflect the new URL:
- login to the Huddo Store
-
open your Organisation definition
-
delete the client for the old URL
-
add a new client for the new URL
-
download the updated licence file
-
copy the licence key from the new licence file to the
licence.env.LICENCE
field
YAML Config¶
Please review the configuration documentation for variables which need to be updated. For example:
global.env.APP_URI
global.env.API_GATEWAY
webfront.ingress.hosts
core.ingress.hosts
user.env.CONNECTIONS_URL
|user.env.DOMINO_AUTH_URL
|user.env.DX_URL
Tip
You may also need to update the callback URL defined in your authentication provider.
Deploy¶
After updating the configuration, you need to deploy the changes to your Huddo Boards deployment. This can be done as per the How To Update process.
Troubleshooting¶
If you have any issues with this process, please contact Huddo Support for assistance.