Skip to content

Commit

Permalink
Add support for roles (#2)
Browse files Browse the repository at this point in the history
* Add support for roles

* Increase version
  • Loading branch information
shawn-higgins1 authored and jfederico committed Jul 19, 2019
1 parent 8ef1f51 commit 9750e53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/omniauth-bn-launcher/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module OmniAuth
module Bn
module Launcher
VERSION = "0.1.1"
VERSION = "0.1.2"
end
end
end
3 changes: 2 additions & 1 deletion lib/omniauth/strategies/bn_launcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def callback_phase
:email => raw_info['email'],
:image => raw_info['image'],
:username => raw_info['username'],
:customer => options[:customer]
:customer => options[:customer],
:roles => raw_info['roles']
}
end

Expand Down

0 comments on commit 9750e53

Please sign in to comment.