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.
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
- Sign into your ClickUp dashboard, visit the Settings > Integrations page and click on the "clickup API" integration
- Click on "Create an App" link, enter your app's name, enter
https://mywebsite.com/auth/click_up/callback
as the Redirect URL (replacemywebsite.com
with the actual domain of your website when doing so) and click on "Create App" - 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
use OmniAuth::Builder do
provider :clickup, Rails.application.secrets.clickup_oauth_client_id, Rails.application.secrets.clickup_oauth_client_secret
end
This gem was authored by SupportBee to integrate ClickUp with their Integrations Platform
[MIT License