auth1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -3
- data/app/controllers/auth1/sessions_controller.rb +1 -1
- data/lib/auth1/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23449d863a7488a869e5b584dbfd6c624d07a57a7b5eaf491900fe4a456b92ef
|
4
|
+
data.tar.gz: c77439187931a3f410c1d62a117d0f1ff40ce2d5a0a65b9ba1a0d667854edf93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b511924b3065485b76e4a0b3eeb1cec655fee5c0f26c9e1bbc4c0b83a24e3cc94d266ef985aa0e41a10e8d38bf3972a1a35ea468c5a4c33826587a3c4cac16b8
|
7
|
+
data.tar.gz: fd7456d3823a99e120e832c6e73e30a0a0da1d489ec38dd1465e43201253b2c290a030e8aca89e4029955369a325e2ed583fc7f201f7775c666c88268a62354b
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Auth1
|
2
|
-
Auth1 provides everything you need to use Auth0 in your Rails application.
|
2
|
+
Auth1 is a Rails Engine for Auth0. Auth1 provides everything you need to use [Auth0](https://auth0.com) in your Rails application.
|
3
3
|
|
4
4
|
## Usage
|
5
5
|
How to use my plugin.
|
@@ -16,14 +16,20 @@ And then execute:
|
|
16
16
|
$ bundle
|
17
17
|
```
|
18
18
|
|
19
|
-
Set the following environment variables
|
19
|
+
Set the following environment variables:
|
20
20
|
```bash
|
21
|
+
# Values from https://manage.auth0.com/#/applications
|
21
22
|
AUTH0_CLIENT_ID
|
22
23
|
AUTH0_CLIENT_SECRET
|
23
24
|
AUTH0_DOMAIN
|
25
|
+
|
26
|
+
# URL in your application to redirect to after logout from Auth0
|
27
|
+
AUTH0_LOGOUT_URL
|
24
28
|
```
|
25
29
|
|
26
|
-
Update **Allowed Callback URLs** field in [Auth0 Application Settings](https://manage.auth0.com/#/applications). For local development, you can set this value to http://localhost:3000/auth/auth0/callback
|
30
|
+
Update **Allowed Callback URLs** field in [Auth0 Application Settings](https://manage.auth0.com/#/applications). For local development, you can set this value to `http://localhost:3000/auth/auth0/callback`.
|
31
|
+
|
32
|
+
Update **Allowed Logout URLs** field in [Auth0 Application Settings](https://manage.auth0.com/#/applications) with the same value in `AUTH0_LOGOUT_URL` environment variable.
|
27
33
|
|
28
34
|
## View Helpers
|
29
35
|
|
data/lib/auth1/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auth1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joon Lee
|
@@ -118,7 +118,8 @@ dependencies:
|
|
118
118
|
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
|
-
description: Auth1
|
121
|
+
description: Auth1 is a Rails Engine for Auth0. Auth1 provides everything you need
|
122
|
+
to use Auth0 in your Rails application.
|
122
123
|
email:
|
123
124
|
- seouri@gmail.com
|
124
125
|
executables: []
|
@@ -166,5 +167,5 @@ requirements: []
|
|
166
167
|
rubygems_version: 3.1.2
|
167
168
|
signing_key:
|
168
169
|
specification_version: 4
|
169
|
-
summary: Auth1 is
|
170
|
+
summary: Auth1 is a Rails Engine for Auth0.
|
170
171
|
test_files: []
|