Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set up to login by password/SSO? #769

Open
EdenLyf opened this issue Apr 10, 2024 · 1 comment
Open

How to set up to login by password/SSO? #769

EdenLyf opened this issue Apr 10, 2024 · 1 comment

Comments

@EdenLyf
Copy link

EdenLyf commented Apr 10, 2024

A great platform that I can using to manage the test devices in our team easily.

I have set up the platform by Docker container, and I have set upstf/docker-compose.yaml like this, so I can login by Name and Email.

I'm confused with the 2 questions,

  1. I want to login by Email and password, what else and where I need to set up?
  2. If we want to using the Google email in our team to login by SSO, is it supported, how and where I need to set up?
version: "3"

services:
  rethinkdb:
    container_name: rethinkdb
    image: rethinkdb:2.4.2
    ports:
      - "8080:8080"
      - "28015:28015"
    restart: unless-stopped
    volumes:
        - "rethinkdb-data:/data"
    command: "rethinkdb --bind all --cache-size 2048"

  stf:
    container_name: stf
    image: devicefarmer/stf
    ports:
      - "7100:7100"
      - "7110:7110"
      - "7400-7500:7400-7500"
    environment:
      - TZ='America/Los_Angeles'
      - RETHINKDB_PORT_28015_TCP=tcp://rethinkdb:28015
      - STF_ADMIN_EMAIL=my_email
      - STF_ADMIN_NAME=my_username
      - STF_ROOT_GROUP_NAME=my_group
    restart: unless-stopped
    command: stf local --adb-host host.docker.internal --public-ip my_ip_address --provider-min-port 7400 --provider-max-port 7500

volumes:
  rethinkdb-data: {}

stf1

@denis99999
Copy link

@EdenLyf , there are several authentication methods available in STF (e.g. SAML 2.0, OAuth 2.0, LDAP), you have to take a look at DEPLOYMENT.md documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants