Can tyk read access keys in a cookie?

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:16:26 +0000.
Sender:Jeff Martin.
Date:Monday, 22 June 2015 18:18:25 UTC+1.

on https://tyk.io/v1.6/access-control/access-keys/ it talks about setting an access key in a header or querystring parameter. Can tyk read it from a cookie?

Imported Google Group message.
Sender:Martin Buhr.
Date:Monday, 22 June 2015 18:43:27 UTC+1.

Hi Jeff,

I’m afraid not; but it does sound like a good idea - do you have a specific implementation in mind?

Thanks,
Martin

on https://tyk.io/v1.6/access-control/access-keys/ it talks about setting an access key in a header or querystring parameter. Can tyk read it from a cookie?

Imported Google Group message.
Sender:Jeff Martin.
Date:Monday, 22 June 2015 22:18:51 UTC+1.

it would be similar to your implementation for the header… but you would choose cookie and then a name for the cookie to look at.

then tyk reads the cookie at that name/key coming from the client and does the same verification it would do for the header

  • show quoted text -