File tree Expand file tree Collapse file tree 1 file changed +9
-19
lines changed
Expand file tree Collapse file tree 1 file changed +9
-19
lines changed Original file line number Diff line number Diff line change @@ -3,28 +3,18 @@ CloudFoundry UAA OmniAuth Strategy
33
44OmniAuth strategy for authenticating users using the CloudFoundry UAA server.
55
6- Set up a local ruby environment (so sudo not required) :
6+ Add the following to your ` Gemfile ` :
77
8- $ rvm use 1.9.2
8+ ``` text
9+ gem 'omniauth-uaa-oauth2'
10+ ```
911
10- or
12+ For example usage see:
1113
12- $ rbenv global 1.9.2-p180
14+ * the ` examples/config.ru ` sample code
15+ * https://github.com/starkandwayne/ultimate-guide-to-uaa-examples/tree/master/ruby/omniauth-login-only
16+ * https://github.com/starkandwayne/ultimate-guide-to-uaa-examples/tree/master/ruby/omniauth-login-and-uaa-api-calls
17+ * https://github.com/starkandwayne/ultimate-guide-to-uaa-examples/tree/master/ruby/resource-server-wrapper-ui
1318
14- see: https://rvm.io/ or http://rbenv.org/
15-
16- Build and install the cf-uaa-lib gem located at https://github.com/cloudfoundry/cf-uaa-lib
17-
18- Build the gem
19-
20- $ bundle install
21- $ bundle exec gem build omniauth-uaa-oauth2.gemspec
22-
23- Install it
24-
25- $ gem install omniauth-uaa-oauth2-*.gem
26-
27-
28- See the examples folder for details on how to use it.
2919
3020Warning: Unlike the omniauth-oauth2 gem, this gem does not support the oauth2 'state' security parameter.
You can’t perform that action at this time.
0 commit comments