omniauth-casenex 0.1 → 0.2
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.
- data/.gitignore +18 -1
- data/README.md +1 -1
- data/lib/omniauth-casenex/version.rb +1 -1
- data/lib/omniauth/strategies/casenex.rb +5 -3
- metadata +1 -1
data/.gitignore
CHANGED
@@ -1,2 +1,19 @@
|
|
1
1
|
.idea/
|
2
|
-
.DS_Store
|
2
|
+
.DS_Store
|
3
|
+
*.rbc
|
4
|
+
*.sassc
|
5
|
+
.sass-cache
|
6
|
+
capybara-*.html
|
7
|
+
.rspec
|
8
|
+
/.bundle
|
9
|
+
/vendor/bundle
|
10
|
+
/log/*
|
11
|
+
/tmp/*
|
12
|
+
/db/*.sqlite3
|
13
|
+
/public/system/*
|
14
|
+
/coverage/
|
15
|
+
/spec/tmp/*
|
16
|
+
**.orig
|
17
|
+
rerun.txt
|
18
|
+
pickle-email-*.html
|
19
|
+
*.gem
|
data/README.md
CHANGED
@@ -8,7 +8,10 @@ module OmniAuth
|
|
8
8
|
|
9
9
|
# This is where you pass the options you would pass when
|
10
10
|
# initializing your consumer from the OAuth gem.
|
11
|
-
option :client_options, {
|
11
|
+
option :client_options, {
|
12
|
+
:site => "https://sharp-stone-1355.herokuapp.com",
|
13
|
+
:token_url => '/auth/access_token'
|
14
|
+
}
|
12
15
|
|
13
16
|
# These are called after authentication has succeeded. If
|
14
17
|
# possible, you should try to set the UID without making
|
@@ -19,8 +22,7 @@ module OmniAuth
|
|
19
22
|
|
20
23
|
info do
|
21
24
|
{
|
22
|
-
:
|
23
|
-
:email => raw_info['email']
|
25
|
+
:username => raw_info['username']
|
24
26
|
}
|
25
27
|
end
|
26
28
|
|