Authorization as parameter

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:28:14 +0000.
Sender:Ian Harris.
Date:Wednesday, 21 October 2015 11:07:28 UTC+1.

Hi,

Is it possible to pass access keys as parameters instead of Authorization headers when accessing a API via Tyk?

Thanks,
Ian.

Imported Google Group message.
Sender:Martin Buhr.
Date:Wednesday, 21 October 2015 11:33:06 UTC+1.

Hi Ian,

Yup - there’s an option for that in the api definition, you need to set the auth.use_param value to true: https://tyk.io/v1.8/api-management/api-definition-detail/

Chers,
Martin

Imported Google Group message.
Sender:Ian Harris.
Date:Wednesday, 21 October 2015 11:33:06 UTC+1.

Hi Ian,

Yup - there’s an option for that in the api definition, you need to set the auth.use_param value to true: https://tyk.io/v1.8/api-management/api-definition-detail/

Chers,
Martin

Imported Google Group message.
Sender:Martin Buhr.
Date:Wednesday, 21 October 2015 12:00:22 UTC+1.

Hi Martin,

That’s great. Thanks for that. One more quick question. If I have use_param set to true can I use both header and param or will it be by param only?

Thanks,
Ian.

  • show quoted text -

Imported Google Group message.
Sender:Ian Harris.
Date:Wednesday, 21 October 2015 12:14:51 UTC+1.

Hi Ian,

It should be param only. It’s either one or the other, never both.

Cheers,
Martin

Imported Google Group message.
Sender:Ian Harris.
Date:Wednesday, 21 October 2015 12:22:18 UTC+1.

Hi Martin,

That’s great. Thanks very much for that.

Ian.

  • show quoted text -