Skip to content
Snippets Groups Projects
Commit ce60a50f authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Clarify that we need to set 3 values.

parent a5319be0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -25,12 +25,12 @@ Discourse plugin for the omniauth-gitlab strategy.
- git clone https://gitlab.com/gitlab-org/discourse-omniauth-gitlab.git
```
 
1. Rebuild the container by providing the ID and SECRET values:
1. Rebuild the container by providing the APP_ID, SECRET and GitLab url values:
 
```
cd /var/discourse
git pull origin master
GITLAB_APP_ID=gitlabtestid GITLAB_SECRET=gitlabtestsecret GITLAB_SITE_URL=https://git.example.com ./launcher rebuild app
GITLAB_APP_ID=gitlabtestid GITLAB_SECRET=gitlabtestsecret GITLAB_URL=https://git.example.com ./launcher rebuild app
```
 
Otherwise you can add these variables in `app.yml` under the `env` section.
Loading
Loading
Loading
Loading
@@ -50,7 +50,7 @@ class GitLabAuthenticator < ::Auth::Authenticator
{
client_options:
{
site: ENV['GITLAB_SITE_URL']
site: ENV['GITLAB_URL']
}
}
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment