Skip to content

djperezh/Auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth0 Tenant Client/Application API

Requirements

  • Node (ver 14 recommended)
  • Axios
  • npm
  • yarn (recomended)

Technologies

Enable Slash Commands in the Salck App configuration including the CRUD commands: Create, Retrieve, Update, Delete. You will need your own API URL Endpoint for this (you can get it once you start the server... see following information about Dev Setup)

Project Structure

  • app.js contains the primary Bolt app. It imports the Bolt package (@slack/bolt) and starts the Bolt app's server. It's where you'll add your app's listeners.
  • .env is where you'll put your Slack app's authorization token and signing secret.

Dev SetUp

  • You need Auth0 Account and Slack Account (Free account are enough)
  • YOu need to create an Slack App using the Slack API
  • Clone repository
  • Update the values in the .env file using your own tokens
SLACK_BOT_TOKEN=<SLACK_BOT_TOKEN>
SLACK_SIGNING_SECRET=<SLACK_SECRET>
API_URL=<YOUR_API_URL>
MGMT_API_ACCESS_TOKEN=<YOUR_AUTH0_TOKEN>
  • Install packages by running the following command:
yarn install
  • Start the server.

You can use glitch which is very friendly. However you will need to copy the code manually to glitch's IDE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published