Bearer Token : API Key too long for application - Shorter Key possible?

The API I’ve created is using an Auth Token. The API Key provided by tyk has 56 characters (and this works well with Postman).

But the Key provided by tyk is too long for a service I try to use. They say: “Please enter a valid parameter value of maximum 45 characters”.

Is it possible to generate a shorter key? - Or is there a workaround?

This is what I’m allowed to do:

Hi there.

Your client seems unnecessarily restrictive. A header value should be allowed to be greater than 45 characters.
What client are you using, and is it possible for you to use another one?

If not, as a workaround, you could try using basic auth instead of Auth Token between client and gateway?

Yes, this is a hard restriction. I’ve asked them if they will expand the 45 characters rule, but they have (actual) no plan to expand it.

Basic Auth is an option, but unfortunately, I was not able to realize it with tyk. (see here).