Akamai add basic auth to incoming request

In some cases, Akamai may need to add auth basic to incoming request before sending it to the origin. Here is how to:

1) encode the username and password in the format of username:password. It can be done either via bash script or the online tool.

echo -n username:password | base64


Screen Shot 2016-08-30 at 8.06.35 PM

2) Add a behavior in Akamai to modify the incoming request header to add Authorization header, and also you may need to remove the Authorization header in the outgoing response header.

Screen Shot 2016-08-30 at 4.04.37 PM.png


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s