官术网_书友最值得收藏!

  • Redash v5 Quick Start Guide
  • Alexander Leibzon Yael Leibzon
  • 166字
  • 2021-08-13 15:12:13

Using Google OAuth to log in to Redash

If you want to use Google OAuth to authenticate users, you need to create a Google Developers project (see the instructions (https://redash.io/help/open-source/admin-guide/google-developer-account-setup) for this and then add the following configuration in the env file):

export REDASH_GOOGLE_CLIENT_ID=""
export REDASH_GOOGLE_CLIENT_SECRET=""

Once enabled, Redash will use Google OAuth to authenticate existing user accounts. In order to enable automatic user creation according to a specific domain name, you can add this domain in the setting page.

If you're passing multiple domains, separate them with commas:

  1. Restart the web server to apply the configuration changes: docker-compose up -d.
  2. Once you have Google OAuth enabled, you can log in using your Google Apps account. If you want to grant admin permissions to some users, you can do this by adding them to the admin group (from the /groups page).
  3. If you don't use Google OAuth or just need username/password logins, you can create additional users by opening the /users/new page.
主站蜘蛛池模板: 昌都县| 都昌县| 肥乡县| 丰台区| 东乌| 深泽县| 漾濞| 高安市| 谢通门县| 黄陵县| 河东区| 林周县| 易门县| 夹江县| 雅安市| 恩平市| 罗定市| 湖口县| 伊金霍洛旗| 清远市| 嫩江县| 轮台县| 云梦县| 宜兴市| 华池县| 东源县| 资源县| 张北县| 永丰县| 伊通| 苏州市| 芒康县| 昌黎县| 郎溪县| 玛曲县| 建宁县| 弥渡县| 望都县| 旌德县| 五指山市| 南京市|