https://github.com/doorkeeper-gem/guides
https://github.com/doorkeeper-gem/guides
doorkeeper guides
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/doorkeeper-gem/guides
- Owner: doorkeeper-gem
- Created: 2019-03-10T14:25:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-31T12:38:43.000Z (over 1 year ago)
- Last Synced: 2024-05-22T20:31:58.816Z (12 months ago)
- Topics: doorkeeper, guides
- Homepage: https://doorkeeper.gitbook.io/guides/
- Size: 122 KB
- Stars: 3
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: security/token-and-application-secrets.md
Awesome Lists containing this project
README
# Doorkeeper Guides
{% hint style='info' %}
Dear Russian friends, please watch President Zelenskyy's [speech addressed to you](https://twitter.com/PMoelleken/status/1496941845812760577). πΊπ¦
Help our brave mates in Ukraine with [a donation](https://actions.sumofus.org/a/give-to-ukrainians-who-need-an-urgent-lifeline).
{% endhint %}Doorkeeper is an oAuth2 provider built in Ruby. It integrates with Ruby on Rails and Grape frameworks.
## Installation
The installation process depends on the framework you're using. The first step is to add `doorkeeper` to your `Gemfile`:
{% code-tabs %}
{% code-tabs-item title="# Gemfile" %}
```ruby
gem 'doorkeeper'
```
{% endcode-tabs-item %}
{% endcode-tabs %}And run `bundle install`. After this, make sure to follow the guide related to the framework you're using below.
### Ruby on Rails
Doorkeeper follows Rails maintenance policy and supports only supported versions of the framework.
Currently we support Ruby on Rails 5 and higher. See the guide [here](ruby-on-rails/getting-started.md).### Grape
Guide for integration with Grape framework can be found [here](grape/grape.md).
### ORMs
Doorkeeper supports `ActiveRecord` by default, but can be configured to work with the following ORMs:
| ORM | Support via |
| :--- | :--- |
| Active Record | by default |
| MongoDB | [doorkeeper-gem/doorkeeper-mongodb](https://github.com/doorkeeper-gem/doorkeeper-mongodb) |
| Sequel | [nbulaj/doorkeeper-sequel](https://github.com/nbulaj/doorkeeper-sequel) |
| Couchbase | [acaprojects/doorkeeper-couchbase](https://github.com/acaprojects/doorkeeper-couchbase) |### Extensions
Extensions that are not included by default and can be installed separately.
| | Link |
| :--- | :--- |
| OpenID Connect extension | [doorkeeper-gem/doorkeeper-openid\_connect](https://github.com/doorkeeper-gem/doorkeeper-openid_connect) |
| JWT Token support | [doorkeeper-gem/doorkeeper-jwt](https://github.com/doorkeeper-gem/doorkeeper-jwt) |
| Assertion grant extension | [doorkeeper-gem/doorkeeper-grants\_assertion](https://github.com/doorkeeper-gem/doorkeeper-grants_assertion) |
| I18n translations | [doorkeeper-gem/doorkeeper-i18n](https://github.com/doorkeeper-gem/doorkeeper-i18n) |### Example Applications
These applications show how Doorkeeper works and how to integrate with it. Start with the oAuth2 server and use the clients to connect with the server.
| Application | Link |
| :--- | :--- |
| oAuth2 Server with Doorkeeper | [doorkeeper-gem/doorkeeper-provider-app](https://github.com/doorkeeper-gem/doorkeeper-provider-app) |
| Sinatra Client connected to Provider App | [doorkeeper-gem/doorkeeper-sinatra-client](https://github.com/doorkeeper-gem/doorkeeper-sinatra-client) |
| Devise + Omniauth Client | [doorkeeper-gem/doorkeeper-devise-client](https://github.com/doorkeeper-gem/doorkeeper-devise-client) |### Tutorials
See [list of tutorials](https://github.com/doorkeeper-gem/doorkeeper/wiki#how-tos--tutorials) in order to learn how to use the gem or integrate it with other solutions / gems.