Sha256: c4afb84835a87b76701aefc5caf67eb4e31bb00e76984e35aacbc446bd630559
Contents?: true
Size: 1.32 KB
Versions: 6
Compression:
Stored size: 1.32 KB
Contents
# This file would normally be in config > initializers but # is included here because it is essentially a spec helper ScimRails.configure do |config| config.basic_auth_model = "Company" config.scim_users_model = "User" 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.signing_algorithm = "HS256" config.signing_secret = "2d6806dd11c2fece2e81b8ca76dcb0062f5b08e28e3264e8ba1c44bbd3578b70" config.user_deprovision_method = :archive! config.user_reprovision_method = :unarchive! config.mutable_user_attributes = [ :first_name, :last_name, :email ] 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 } ] } 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? } end
Version data entries
6 entries across 6 versions & 2 rubygems