Fix auth token for JSON requests

Previous behaviour

Steps to reproduce:

  1. Do a call to auth-token API with application/json mime
  2. Crash boom broken

New behaviour

Steps to validate that it works:

  1. Do a call to auth-token API with application/json mime
  2. No crash, it works
Edited by Ghost User

Merge request reports

Loading