Skip to content

Latest commit

 

History

History
executable file
·
43 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

executable file
·
43 lines (28 loc) · 1.38 KB

omniauth-clickup

Omniauth strategy for ClickUp OAuth

To use it, you'll need to create an Oauth Application in the Team settings page of Clickup web app and copy the Client ID and Client Secret.

Installation

Add the line below to your Gemfile

gem 'omniauth-clickup', git: "https://github.com/SupportBee/omniauth-clickup"

Register your application with ClickUp and obtain a Client ID and Client Secret

  1. Sign into your ClickUp dashboard, visit the Settings > Integrations page and click on the "clickup API" integration
  2. Click on "Create an App" link, enter your app's name, enter https://mywebsite.com/auth/click_up/callback as the Redirect URL (replace mywebsite.com with the actual domain of your website when doing so) and click on "Create App"
  3. Copy the Client ID and Client Secret

Create an initializer config/initializers/omniauth.rb and add the lines below

use OmniAuth::Builder do
  provider :clickup, ENV['client_id'], ENV['client_secret']
end

Basic Usage

use OmniAuth::Builder do
  provider :clickup, Rails.application.secrets.clickup_oauth_client_id, Rails.application.secrets.clickup_oauth_client_secret
end

Credits

This gem was authored by SupportBee to integrate ClickUp with their Integrations Platform

License

[MIT License