GitHunt
WI

WilliamBergamin/external-authentication-bolt-python

Use slacks external authentication in a Bolt Python project

External Authentication in Bolt Python

This project uses extenral authentication in a bolt python project

Usage

Install

slack create -e bolt external-auth-bolt-python -t https://github.com/WilliamBergamin/external-authentication-bolt-python.git

cd external-authentication-bolt-python
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Set up

The following steps guide you through integrating your app with an external service using Google as an example.

Create a .env file from the .env.example with the proper information.

In the manifest.json edit the external_auth_providers.oauth2.google.options.client_id property with the value from your google client. Then use the following command and script to install and add the provider secret for your app.

slack install -e bolt
python add_secret.py

Start your app

slack run -e bolt

Add the Get sheet content step to a workflow and run it to see what happens.

Languages

Python100.0%

Contributors

Created February 14, 2025
Updated February 14, 2025