Authenticating with GitHub Sign-In
See Creating an OAuth App for setup instructions.
Create an OAuth App from your organization/user settings page,
Set the Authorization callback URL:
%PUBLIC_URL%/auth/github
Once your app is created you can configure LogScale to authenticate with GitHub, like this:
iniAUTHENTICATION_METHOD=oauth PUBLIC_URL=$YOUR_SERVERS_BASE_URL GITHUB_OAUTH_CLIENT_ID=$CLIENT_ID # The client_id from your GitHub OAuth App GITHUB_OAUTH_CLIENT_SECRET=$CLIENT_SECRET # The client_secret your GitHub OAuth App AUTO_CREATE_USER_ON_SUCCESSFUL_LOGIN=true # default is false
To have calls to the token endpoint for GitHub use the cluster's HTTP proxy settings, add the
GITHUB_OAUTH_USE_HTTP_PROXY
configuration and set the value to true.Read more about LogScale Configuration Parameters.