HMAC and BASIC auth on same endpoint


#1

Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/OREZUf2eIDA Import Date: 2016-01-19 21:34:37 +0000.
Sender:Pascal Combescot.
Date:Friday, 11 December 2015 14:22:08 UTC.

Hi,

It seems not possible to enable hmac AND basic authentication on the same endpoint

Is there a reason for that ?
If I want to be able to do that what should I do ?

Best regards
Pascal Combescot


#2

Imported Google Group message.
Sender:Pascal Combescot.
Date:Friday, 11 December 2015 14:23:19 UTC.

I see that from experience and from this page : https://tyk.io/v1.7/access-control/hmac/

  • show quoted text -

#3

Imported Google Group message.
Sender:Martin Buhr.
Date:Friday, 11 December 2015 14:24:40 UTC.

Hi Pascal,

Nope it isn’t possible

HMAC works only with regular session tokens and is treated as an independent auth method.

We’d need to change how HMAC middleware (as an addition instead of as an auth method).

Cheers,
Martin