omniauth-frameio 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +16 -13
- data/lib/omniauth-frameio/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f361b415a0406128faf58dd76abd063fe30cb0b13404b3eb36bee11b7d0444de
|
4
|
+
data.tar.gz: 78a33c6d078de8b6f586b882feeb6449639119aae34e29078963d1b1146a80ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69d12e355310726f4100c7b8a45c99e027a39461fe87907f6f8fb6211146a9f791870748f8352718d85f9d153cd86b735d9b503fa9c6c27e0a9c9a1784042239
|
7
|
+
data.tar.gz: 1dc9ebe0c873a5ebac2615a1675a89e0b7de142c8ecbcdd61a8ccfb3704dd055de6b5391430db3f5380b803a7bd695765c70b83258350387a95bea16059e75f5
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,34 +1,37 @@
|
|
1
1
|
# Omniauth::Frameio
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/omniauth/frameio`. To experiment with that code, run `bin/console` for an interactive prompt.
|
3
|
+
This gem only extends [omniauth-oauth2](https://github.com/omniauth/omniauth-oauth2) gem by providing specific links to Frame.io auth urls.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
10
|
-
|
11
7
|
Install the gem and add to the application's Gemfile by executing:
|
12
8
|
|
13
|
-
$ bundle add
|
9
|
+
$ bundle add omniauth-frameio
|
10
|
+
|
11
|
+
Or add the gem to your Gemfile:
|
12
|
+
|
13
|
+
gem 'omniauth-frameio'
|
14
14
|
|
15
15
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
16
|
|
17
|
-
$ gem install
|
17
|
+
$ gem install omniauth-frameio
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
This Strategy is meant to be used with [Omniauth](https://github.com/omniauth/omniauth) and has been tested and used with [Devise](https://github.com/heartcombo/devise#omniauth)
|
22
22
|
|
23
|
-
|
23
|
+
If using Devise, add this in your Devise.setup in /config/initializers/devise.rb
|
24
24
|
|
25
|
-
|
25
|
+
config.omniauth :frameio,
|
26
|
+
ENV['FRAME_CLIENT_ID'], # Your app client ID (on Frame.io Oauth app mgmt)
|
27
|
+
ENV['FRAME_CLIENT_SECRET'], # Your app client Secret (on Frame.io Oauth app mgmt)
|
28
|
+
scope: 'offline' # list of availables scopes to find on Frame.io dev doc
|
26
29
|
|
27
|
-
|
30
|
+
Please follow Omniauth & Devise instructions for complete configuration.
|
28
31
|
|
29
32
|
## Contributing
|
30
33
|
|
31
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
34
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/boxprod/omniauth-frameio. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/boxprod/omniauth-frameio/blob/main/CODE_OF_CONDUCT.md).
|
32
35
|
|
33
36
|
## License
|
34
37
|
|
@@ -36,4 +39,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
36
39
|
|
37
40
|
## Code of Conduct
|
38
41
|
|
39
|
-
Everyone interacting in the Omniauth::Frameio project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
42
|
+
Everyone interacting in the Omniauth::Frameio project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/boxprod/omniauth-frameio/blob/main/CODE_OF_CONDUCT.md).
|