GitHub OAuth {{ t("security_setting.configuration") }}

{{ t("security_setting.connect_api_manager") }}

{% set nameForIsGitHubEnabled = "settingForm[security:passport-github:isEnabled]" %} {% set isGitHubEnabled = settingForm['security:passport-github:isEnabled'] %}
  1. {{ t("security_setting.access_api_manager") }}
  2. {{ t("security_setting.create_project") }}
  3. {{ t("security_setting.create_auth_to_oauth") }}
    1. {{ t("security_setting.select_webapp") }}
    2. {{ t("security_setting.GitHub_OAuth.change_redirect_url", "https://${growi.host}/passport/github/callback", "${growi.host}") }}

{{ t("security_setting.ldap.Treat username matching as identical_warn") }}

{% if false %}

How to configure Slack App?

  1. Register Slack App
    1. Create App from this link, and fill the form out as below:
      App Name
      growi
      Development Slack Team
      Select the team you want to notify to.
    2. Save it.
  2. Get App Credentials
    1. Go To "Basic Information" page and make a note "Client ID" and "Client Secret".
  3. Set Redirect URLs
    1. Go to "OAuth & Permissions" page.
    2. Add /admin/notification/slackAuth .
    3. Don't forget to save.
  4. Set Permission Scopes to the App
    1. Go to "OAuth & Permissions" page.
    2. Add "Send messages as GROWI"(chat:write:bot).
    3. Don't forget to save.
  5. Create a bot user
    1. Go to "Bot Users" page and add.
  6. Install the app
    1. Go to "Install App to Your Team" page and install.
  7. (At Team) Approve the app
    1. Go to the management Apps page for the team you installed the app and approve "growi".
  8. (At Team) Invite the bot to your team
    1. Invite the user you created in 4. Add a bot user to the channel you notify to.
  9. (At GROWI admin page) Input "clientId" and "clientSecret" and submit on this page.
  10. (At GROWI admin page) Click "Connect to Slack" button to start OAuth process.
{% endif %}