Skip to content

Commit 4321739

Browse files
committed
Update readme for 1.7.0
1 parent b2f321d commit 4321739

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
[![Gem Version](http://img.shields.io/gem/v/omniauth-oauth2.svg)][gem]
44
[![Build Status](http://img.shields.io/travis/omniauth/omniauth-oauth2.svg)][travis]
5-
[![Dependency Status](http://img.shields.io/gemnasium/omniauth/omniauth-oauth2.svg)][gemnasium]
6-
[![Code Climate](http://img.shields.io/codeclimate/github/intridea/omniauth-oauth2.svg)][codeclimate]
5+
[![Code Climate](http://img.shields.io/codeclimate/maintainability/intridea/omniauth-oauth2.svg)][codeclimate]
76
[![Coverage Status](http://img.shields.io/coveralls/intridea/omniauth-oauth2.svg)][coveralls]
87
[![Security](https://hakiri.io/github/omniauth/omniauth-oauth2/master.svg)](https://hakiri.io/github/omniauth/omniauth-oauth2/master)
98

109
[gem]: https://rubygems.org/gems/omniauth-oauth2
1110
[travis]: http://travis-ci.org/omniauth/omniauth-oauth2
12-
[gemnasium]: https://gemnasium.com/github.com/omniauth/omniauth-oauth2
13-
[codeclimate]: https://codeclimate.com/github/omniauth/omniauth-oauth2
14-
[coveralls]: https://coveralls.io/r/omniauth/omniauth-oauth2
11+
[codeclimate]: https://codeclimate.com/github/intridea/omniauth-oauth2
12+
[coveralls]: https://coveralls.io/r/intridea/omniauth-oauth2
1513

1614
This gem contains a generic OAuth2 strategy for OmniAuth. It is meant to serve
1715
as a building block strategy for other strategies and not to be used
@@ -34,6 +32,10 @@ module OmniAuth
3432
# This is where you pass the options you would pass when
3533
# initializing your consumer from the OAuth gem.
3634
option :client_options, {:site => "https://api.somesite.com"}
35+
36+
# You may specify that your strategy should use PKCE by setting
37+
# the pkce option to true: https://tools.ietf.org/html/rfc7636
38+
option :pkce, true
3739

3840
# These are called after authentication has succeeded. If
3941
# possible, you should try to set the UID without making
@@ -64,4 +66,3 @@ end
6466
```
6567

6668
That's pretty much it!
67-

0 commit comments

Comments
 (0)