Managing user sign-on
You can control how long your Sametime meeting credentials are maintained to reduce the number of times you have to sign-in.
About this task
A token is maintained by the meeting sever to control how often you sign-in to your Sametime Meeting. The default value is 30 days. You can modify this value or turn off the feature by including the JWT_REFRESH_DURATION_DAYS environment variable in the YAML file. You can specify any number of whole days to retain login credentials. To disable this feature, set the value to 0.
Managing user sign-on in Docker
Procedure
-
Edit the docker-compose.yml file and locate the auth section within the
file.
The file is in the root directory .
-
Add the JWT_REFRESH_DURATION_DAYS environment variable.
Specify the duration in this format environment_variable=number_of_days.
JWT_REFRESH_DURATION_DAYS=number_of_days
The following example shows the auth section with the JWT_REFRESH_DURATION_DAYS environment variable set to 10 days.
-
Run the following commands for changes to activate the YAML file.
docker-compose down delete jitsi-config folder docker-compose up -d
Managing user sign-on in Kubernetes
About this task
kubectl set env deploy/auth JWT_REFRESH_DURATION_DAYS=number_of_days
To permanently change the setting, complete the following steps:
Procedure
-
Edit the deployment.yaml file, which contains the auth environment
variables.
You can find the file in the
helm/charts/auth/templates
directory. -
Add the JWT_REFRESH_DURATION_DAYS environment variable.
Specify the duration in this format environment_variable: number_of_days.
name: JWT_REFRESH_DURATION_DAYS value: number_of_days
The following example shows the auth section with the JWT_REFRESH_DURATION_DAYS environment variable set to 10 days.
-
Run the following commands to activate the YAML:
helm uninstall sametime-meetings helm install sametime-meetings