Authorization or Token retrieval in getHeader request | Community
Skip to main content
adithyacs86
Level 5
May 6, 2021
Solved

Authorization or Token retrieval in getHeader request

  • May 6, 2021
  • 3 replies
  • 4304 views

Hi Team, 

 

We are trying to pull the authorization data that we are sending as a header in postman and the endpoint URL is AC jssp link (which is dynamic server page). 

this JSSP page we have created in Adobe campaign.

But not able to request this header parameter from the request.getHeader. 

 

Rather we are able to get the data for the Accept-Language which we have given as EN as shown above in postman through the getRequest in Adobe Campaign. 

 

Requesting for an help in here on how can we request the authorization field as a request but not as a response. 

 

Thanks,
Adithya

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by adithyacs86
Hi, Yes we are able to resolve the issue, but as a work around, instead of using Authorization or token ; we have used the cookies to get the Authorization, which is working now.

3 replies

_Manoj_Kumar_
Community Advisor
Community Advisor
May 6, 2021

Hello @adithyacs86 

 

Can you share the postman field screenshot?

     Manoj     Find me on LinkedIn
adithyacs86
Level 5
May 6, 2021
Hi Manoj, I have already posted both Postman and the AC logInfo we are trying to retrieve in the initial post.
Jonathon_wodnicki
Community Advisor
Community Advisor
May 9, 2021

Hi,

 

It's being filtered out by your web server, either Apache or IIS.

You can verify this by visiting Tomcat directly over port 8080.

New versions of Apache have a conf directive called CGIPassAuth, though I haven't had any luck with it.

 

Thanks,

-Jon

Sukrity_Wadhwa
Community Manager
Community Manager
May 17, 2021

Hi @adithyacs86,

Were you able to resolve this query with any of the given solutions or do you still need more help here? Do let us know.

Thanks!

Sukrity Wadhwa
adithyacs86
adithyacs86AuthorAccepted solution
Level 5
May 25, 2021
Hi, Yes we are able to resolve the issue, but as a work around, instead of using Authorization or token ; we have used the cookies to get the Authorization, which is working now.