Skip to content

Commit 014332f

Browse files
authored
Add SSO and Domain Verification widget scopes (#396)
Allowing these widgets to be used via the `WorkOS::Widgets.get_token` API.
1 parent 97d5be5 commit 014332f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/workos/types/widget_scope.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ module Types
66
# scopes while generating a widget token.
77
module WidgetScope
88
USERS_TABLE_MANAGE = 'widgets:users-table:manage'
9+
SSO_MANAGE = 'widgets:sso:manage'
10+
DOMAIN_VERIFICATION_MANAGE = 'widgets:domain-verification:manage'
911

10-
ALL = [USERS_TABLE_MANAGE].freeze
12+
ALL = [USERS_TABLE_MANAGE, SSO_MANAGE, DOMAIN_VERIFICATION_MANAGE].freeze
1113
end
1214
end
1315
end

0 commit comments

Comments
 (0)