Sha256: 53a0fd3141e719d6b3af5c8c7c38bec00b554892f8add8e6fe1266498cb7189b
Contents?: true
Size: 1.82 KB
Versions: 2
Compression:
Stored size: 1.82 KB
Contents
ScimRails.configure do |config| config.basic_auth_model = "Company" config.scim_users_model = "User" config.scim_groups_model = "Group" config.basic_auth_model_searchable_attribute = :subdomain config.basic_auth_model_authenticatable_attribute = :api_token config.scim_users_scope = :users config.scim_users_list_order = :id config.scim_groups_scope = :groups config.signing_algorithm = "HS256" config.signing_secret = "2d6806dd11c2fece2e81b8ca76dcb0062f5b08e28e3264e8ba1c44bbd3578b70" config.user_destroy_method = :destroy! config.group_destroy_method = :destroy! config.mutable_user_attributes = [ :first_name, :last_name, :email, :active ] config.queryable_user_attributes = { userName: :email, givenName: :first_name, familyName: :last_name, email: :email } config.mutable_user_attributes_schema = { name: { givenName: :first_name, familyName: :last_name }, emails: [ { value: :email } ], active: :active } config.user_schema = { schemas: ["urn:ietf:params:scim:schemas:core:2.0:User"], id: :id, userName: :email, name: { givenName: :first_name, familyName: :last_name }, emails: [ { value: :email }, ], active: :unarchived? } config.queryable_group_attributes = { displayName: :name } config.mutable_group_attributes = [ :name ] config.mutable_group_attributes_schema = { displayName: :name } config.group_member_relation_attribute = :user_ids config.group_member_relation_schema = { value: :user_ids } config.group_schema = { schemas: ["urn:ietf:params:scim:schemas:core:2.0:Group"], id: :id, displayName: :name, members: :users } config.group_abbreviated_schema = { value: :id, display: :name } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scimaenaga-0.8.0 | spec/dummy/config/initializers/scim_rails_config.rb |
scimaenaga-0.7.0 | spec/dummy/config/initializers/scim_rails_config.rb |