Skip to content

Login Service⚓︎

The Login Service provides the platform Authorization Server for authenticated user identity and request authorization.

Helm Chart⚓︎

The Login Service is deployed via the login-service helm chart from the EOEPCA Helm Chart Repository.

The chart is configured via values that are fully documented in the README for the login-service chart.

helm install --version 1.2.8 --values login-service-values.yaml \
  --repo \
  login-service login-service


At minimum, values for the following attributes should be specified:

  • Public hostname of the Authorization Server, e.g.
  • IP Address of the public facing reverse proxy (Nginx Ingress Controller), e.g.
  • Kubernetes namespace for the login-service components
  • Initial password for the admin user
    Note that the password must meet the complexity: at least 6 characters and include one uppercase letter, one lowercase letter, one digit, and one special character
  • Name of Persistent Volume Claim for login-service persistence, e.g. eoepca-userman-pvc
    The boolen value volumeClaim.create can be used for the PVC to be created by the helm release. This creates a volume of type host-path and, hence, is only useful for single-node development usage.
  • TLS Certificate Provider, e.g. letsencrypt-production

Example login-service-values.yaml

  namespace: um
  name: eoepca-userman-pvc
  create: false
  adminPass: Chang3me!
  ldapPass: Chang3me!
    name: eoepca-userman-pvc
    name: eoepca-userman-pvc
      cpu: 100m
      memory: 300Mi
    name: eoepca-userman-pvc
      cpu: 100m
      memory: 1000Mi
    name: eoepca-userman-pvc
      cpu: 100m
      memory: 1500Mi
      cpu: 100m
      memory: 100Mi
    annotations: letsencrypt-production
      - hosts:
        secretName: login-service-tls


The resources: above have been limited for the benefit of a minikube deployment. For a production deployment the values should be tuned (upwards) according to operational needs.

Post-deployment Manual Steps⚓︎

The deployment of the Login Service has been designed, as far as possible, to automate the configuration. However, there remain some steps that must be performed manually after the scripted deployment has completed…

UMA Resource Lifetime⚓︎

The Login Service maintains a background service that ‘cleans’ UMA resources that are older than aa certain age - by default 30 days (2592000 secs). This lifetime does not fit the approach we are adopting, and so we must update this lifetime value to avoid the unexpected removal of UMA resources that would cause unexpected failures in policy enforcement.

  • In a browser, navigate to the Login Service (Gluu) - - and login as the admin user
  • Open Configuration -> JSON Configuration -> OxAuth Configuration
  • Search for the setting umaResourceLifetime
  • Update the values of umaResourceLifetime to 2147483647
  • Select to Save Configuration
  • Restart the oxauth deployment…
    kubectl -n um rollout restart deploy/login-service-oxauth

Configure Operator user⚓︎

The default resource protection establishes policy in which ‘operator’ privilege is required for some services, such as the Workspace API. Thus, we need to configure a user with this privilege. For convenience we add this attribute to the built-in admin user - but alternatively you may choose to create a new user for this role.

  • In a browser, navigate to the Login Service (Gluu) - - and login as the admin user
  • Select Users -> Manage People and search for user admin
  • For user admin select Available User Claims -> gluuCustomPerson
  • Select Is Operator and ensure the value is set True
  • Select Update to confirm

Login Service Usage⚓︎

Once the deployment has been completed successfully, the Login Service is accessed at the endpoint, configured by your domain - e.g.

Login as the admin user with the credentials configured in the helm values - ref. adminPass / ldapPass.

Typical first actions to undertake through the Gluu web interface include creation of users and clients.

Additional Information⚓︎

Additional information regarding the Login Service can be found at: