Skip to content

HOMER auth

Lorenzo Mangani edited this page Oct 28, 2021 · 7 revisions

HOMER Authentication

Local

LDAP

OAuth2

The following example outlines an OAuth2 integration with a generic service:

"oauth2": {
    "enable": true,
    "client_id": "XXXXXXXXXXXX-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
    "client_secret": "XXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "project_id": "Homer OAuth",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url":  "https://www.googleapis.com/oauth2/v1/certs",
    "redirect_uri": "http://YOUR_HOMER_URL/api/v3/oauth2/auth",
    "provider_name": "google",
    "provider_image": ""
  }
Clone this wiki locally