Skip to content

Commit

Permalink
Merge pull request #1 from nowa/feat/more-info
Browse files Browse the repository at this point in the history
Export more info
  • Loading branch information
renny-ren authored Jun 10, 2021
2 parents 2fd3798 + 40fb6e7 commit 7f6170c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/omniauth/feishu/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Omniauth
module Feishu
VERSION = "0.1.4"
VERSION = "0.1.5"
end
end
6 changes: 5 additions & 1 deletion lib/omniauth/strategies/feishu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ class NoAppAccessTokenError < StandardError; end
avatar_thumb: raw_info['avatar_thumb'],
avatar_middle: raw_info['avatar_middle'],
avatar_big: raw_info['avatar_big'],
user_id: raw_info['user_id']
user_id: raw_info['user_id'],
union_id: raw_info['union_id'],
open_id: raw_info['open_id'],
en_name: raw_info['en_name'],
app_access_token: @app_access_token
}
end

Expand Down

0 comments on commit 7f6170c

Please sign in to comment.