Skip to content

Commit

Permalink
Fix content type response header to application/scim+json
Browse files Browse the repository at this point in the history
  • Loading branch information
wooly committed Oct 5, 2023
1 parent faba469 commit e684359
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/scimitar/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def add_mandatory_response_headers
#
response.set_header('WWW_AUTHENTICATE', 'Basic' ) if Scimitar.engine_configuration.basic_authenticator.present?
response.set_header('WWW_AUTHENTICATE', 'Bearer') if Scimitar.engine_configuration.token_authenticator.present?
response.set_header('Content-Type', 'application/scim+json; charset=utf-8')
end

def authenticate
Expand Down

0 comments on commit e684359

Please sign in to comment.