Skip to content

Commit 7fce81f

Browse files
authored
Merge pull request #48 from RadiusNetworks/org-roles
allow organization_roles to be passed through to client
2 parents 702fb0a + e3fa3d6 commit 7fce81f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/omniauth/strategies/radius.rb

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def self.provider_url
3434
"confirmed",
3535
"teams",
3636
"organizations",
37+
"organization_roles",
3738
"services",
3839
"service_roles",
3940
"linked_accounts",

spec/support/fixtures.rb

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ def self.auth_hash
1717
"organizations"=>[
1818
{"uid"=>1, "name"=>"Radius Networks"},
1919
],
20+
"organization_roles"=>[
21+
{"uid"=>1, "organization_id"=>1, "role"=>"owner"},
22+
],
2023
"services"=>[
2124
{"uid"=>1, "slug"=>"pickup", "name"=>"FlyBuy Pickup"},
2225
],

0 commit comments

Comments
 (0)