Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bryan Rehbein
committed
Aug 19, 2020
1 parent
09e41fe
commit a014d1a
Showing
14 changed files
with
769 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# v0.3.5 (07.06.2020) | ||
|
||
- bugfix: Info from decoded id_token is not exposed into `request.env['omniauth.auth']` [#61](https://github.com/m0n9oose/omniauth_openid_connect/pull/61) | ||
- bugfix: NoMethodError (`undefined method 'count' for #<OpenIDConnect::ResponseObject::IdToken>`) [#60](https://github.com/m0n9oose/omniauth_openid_connect/pull/60) | ||
|
||
# v0.3.4 (21.05.2020) | ||
|
||
- Try to verify id_token when response_type is code [#44](https://github.com/m0n9oose/omniauth_openid_connect/pull/44) | ||
- Provide more information on error [#49](https://github.com/m0n9oose/omniauth_openid_connect/pull/49) | ||
- Update configuration documentation [#53](https://github.com/m0n9oose/omniauth_openid_connect/pull/53) | ||
- Add documentation about the send_scope_to_token_endpoint config property [#52](https://github.com/m0n9oose/omniauth_openid_connect/pull/52) | ||
- refactor: take uid_field from raw_attributes [#54](https://github.com/m0n9oose/omniauth_openid_connect/pull/54) | ||
- chore(ci): add 2.7, ruby-head and jruby-head [#55](https://github.com/m0n9oose/omniauth_openid_connect/pull/55) | ||
|
||
# v0.3.3 (09.11.2019) | ||
|
||
- Pass `acr_values` to authorize url [#43](https://github.com/m0n9oose/omniauth_openid_connect/pull/43) | ||
- Add raw info for id token [#42](https://github.com/m0n9oose/omniauth_openid_connect/pull/42) | ||
- Fixed `id_token` verification when `id_token` is not used [#41](https://github.com/m0n9oose/omniauth_openid_connect/pull/41) | ||
- Cast `response_type` to string when checking if it is set in params [#36](https://github.com/m0n9oose/omniauth_openid_connect/pull/36) | ||
- Support both symbol and string version of `response_type` option [#35](https://github.com/m0n9oose/omniauth_openid_connect/pull/35) | ||
- Fix gemspec homepage [#33](https://github.com/m0n9oose/omniauth_openid_connect/pull/33) | ||
- Add support for `response_type` `id_token` [#32](https://github.com/m0n9oose/omniauth_openid_connect/pull/32) | ||
|
||
# v0.3.2 (03.08.2019) | ||
|
||
- Use response_mode in `authorize_uri` if the option is defined [#30](https://github.com/m0n9oose/omniauth_openid_connect/pull/30) | ||
- Move verification of `id_token` to before accessing tokens [#28](https://github.com/m0n9oose/omniauth_openid_connect/pull/28) | ||
- Update omniauth dependency [#26](https://github.com/m0n9oose/omniauth_openid_connect/pull/26) | ||
|
||
# v0.3.1 (08.06.2019) | ||
|
||
- Set default OmniAuth name to openid_connect [#23](https://github.com/m0n9oose/omniauth_openid_connect/pull/23) | ||
|
||
# v0.3.0 (27.04.2019) | ||
|
||
- RP-Initiated Logout phase [#5](https://github.com/m0n9oose/omniauth_openid_connect/pull/5) | ||
- Allows `ui_locales`, `claims_locales` and `login_hint` as request params [#6](https://github.com/m0n9oose/omniauth_openid_connect/pull/6) | ||
- Make uid label configurable [#11](https://github.com/m0n9oose/omniauth_openid_connect/pull/11) | ||
- Allow rails applications to handle state mismatch [#14](https://github.com/m0n9oose/omniauth_openid_connect/pull/14) | ||
- Handle errors when fetching access_token at callback_phase [#17](https://github.com/m0n9oose/omniauth_openid_connect/pull/17) | ||
- Allow state method to receive env [#19](https://github.com/m0n9oose/omniauth_openid_connect/pull/19) | ||
|
||
# v0.2.4 (06.01.2019) | ||
|
||
- Prompt and login hint [#4](https://github.com/m0n9oose/omniauth_openid_connect/pull/4) | ||
- Bump openid_connect dependency [#9](https://github.com/m0n9oose/omniauth_openid_connect/pull/9) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
require "omniauth/openid_connect/errors" | ||
require "omniauth/openid_connect/version" | ||
require "omniauth/strategies/openid_connect" | ||
# frozen_string_literal: true | ||
|
||
require 'omniauth/openid_connect/errors' | ||
require 'omniauth/openid_connect/version' | ||
require 'omniauth/strategies/openid_connect' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
module OmniAuth | ||
module OpenIDConnect | ||
class Error < RuntimeError; end | ||
class MissingCodeError < Error; end | ||
class MissingIdTokenError < Error; end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
module OmniAuth | ||
module OpenIDConnect | ||
VERSION = "0.2.2.vn2" | ||
VERSION = '0.3.5.vn1' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'omniauth/openid_connect' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'omniauth/openid_connect/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "omniauth-openid-connect" | ||
spec.name = 'omniauth-openid-connect' | ||
spec.version = OmniAuth::OpenIDConnect::VERSION | ||
spec.authors = ["John Bohn"] | ||
spec.email = ["jjbohn@gmail.com"] | ||
spec.summary = %q{OpenID Connect Strategy for OmniAuth} | ||
spec.description = %q{OpenID Connect Strategy for OmniAuth} | ||
spec.homepage = "https://github.com/jjbohn/omniauth-openid-connect" | ||
spec.license = "MIT" | ||
spec.authors = ['John Bohn', 'Ilya Shcherbinin', 'Bryan Rehbein'] | ||
spec.email = ['jjbohn@gmail.com', 'm0n9oose@gmail.com', 'bryan.rehbein@venuenext.com'] | ||
spec.summary = 'OpenID Connect Strategy for OmniAuth' | ||
spec.description = 'OpenID Connect Strategy for OmniAuth.' | ||
spec.homepage = 'https://github.com/m0n9oose/omniauth_openid_connect' | ||
spec.license = 'MIT' | ||
|
||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_dependency 'omniauth', '~> 1.1' | ||
spec.add_dependency 'openid_connect', '~> 0.12.0' | ||
spec.add_dependency 'addressable', '~> 2.3' | ||
spec.add_development_dependency "bundler", "~> 1.5" | ||
spec.add_development_dependency "minitest" | ||
spec.add_development_dependency "mocha" | ||
spec.add_development_dependency "guard" | ||
spec.add_development_dependency "guard-minitest" | ||
spec.add_development_dependency "guard-bundler" | ||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "simplecov" | ||
spec.add_development_dependency "pry" | ||
spec.add_development_dependency "coveralls" | ||
spec.add_development_dependency "faker" | ||
spec.add_dependency 'addressable', '~> 2.5' | ||
spec.add_dependency 'omniauth', '~> 1.9' | ||
spec.add_dependency 'openid_connect', '~> 1.1' | ||
spec.add_development_dependency 'coveralls', '~> 0.8' | ||
spec.add_development_dependency 'faker', '~> 1.6' | ||
spec.add_development_dependency 'guard', '~> 2.14' | ||
spec.add_development_dependency 'guard-bundler', '~> 2.2' | ||
spec.add_development_dependency 'guard-minitest', '~> 2.4' | ||
spec.add_development_dependency 'minitest', '~> 5.1' | ||
spec.add_development_dependency 'mocha', '~> 1.7' | ||
spec.add_development_dependency 'rake', '~> 12.0' | ||
spec.add_development_dependency 'rubocop', '~> 0.63' | ||
spec.add_development_dependency 'simplecov', '~> 0.12' | ||
end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.