Skip to content

Commit ecc32f7

Browse files
committed
update readme + links to more example applications
1 parent 8b95c66 commit ecc32f7

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

README.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,18 @@ CloudFoundry UAA OmniAuth Strategy
33

44
OmniAuth 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

3020
Warning: Unlike the omniauth-oauth2 gem, this gem does not support the oauth2 'state' security parameter.

0 commit comments

Comments
 (0)