A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/JeremiahChurch/omniauth-notion below:

JeremiahChurch/omniauth-notion: OmniAuth strategy for Notion using OAuth2

This gem provides a simple way to authenticate to Notion using OmniAuth with OAuth2.

Add this line to your application's Gemfile:

And then execute:

Or install it yourself as:

$ gem install omniauth-notion
  1. Get your client key & secret from notion here
  2. configure omniauth or Devise or whatever you're using to use this as another oauth provider.

This looks something like below for Devise.

Devise.setup do |config|
  ...
  config.omniauth :notion, ENV['NOTION_CLIENT_KEY'], ENV['NOTION_CLIENT_SECRET']
end
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4