Skip to content

Commit

Permalink
Fix setting of uid from raw_info (from sub)
Browse files Browse the repository at this point in the history
  • Loading branch information
grega committed Feb 13, 2023
1 parent 859c9b7 commit 5e54da8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.2] - 2023-02-02
## [1.4.0] - 2023-02-13
### Changed
- Fixes setting of uid from raw_info (uid was previously blank)
- Fixes setting of uid from raw_info using sub (uid was previously blank)

## [1.3.1] - 2021-10-14
### Changed
Expand Down
2 changes: 1 addition & 1 deletion lib/omniauth-rpi/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module OmniAuth
module Rpi
VERSION = '1.3.2'.freeze
VERSION = '1.4.0'.freeze
end
end
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/hydra1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def callback_url
full_host + callback_path
end

uid { raw_info['uuid'].to_s }
uid { raw_info['sub'].to_s }

info do
{
Expand Down

0 comments on commit 5e54da8

Please sign in to comment.