On January 27th, this site will be read-only as we migrate to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,552 Users
  • 2,269,759 Discussions


How to pass Header value in Http header through URl

Chandler Bing
Chandler Bing Member Posts: 231 Bronze Badge

Hi All,

My application have Http Header authentication , so for access we have some internal portal(differnet technology) that have one menu on that redirect to apex application and pass value in header variable in http header with that user can login in my application ,so passing that value http is backend process there is other team with different technology do that so i dont know how they pass ok.

Now that http header authentication is new in application before that user enter username and password so now there is one functionality that impact is i share apex url with order number on user mail so user click on that after login user directly go to order page instead of home page,so i do that with addition of page item order id on login page and on home page i will redirect to order page if that item is not null.

so after add the http header authentication that not work because login page now not work so my requirement is that how can i set header value through apex url so i will login my application through url for example :- www.localhost:8080/ords/f?p=100:1:::::x-username:test.

can you please guide or any help?

Best Answer

  • Chandler Bing
    Chandler Bing Member Posts: 231 Bronze Badge
    Answer ✓

    Hi @AndyH

    Thanks for your replay!

    I want to pass http header value thorugh URL amd yes it take value from trusted source and uses that to determine the usrer but i have some case in my that i need for that just want to know is there any possible for that.

    But i resolved my problem inseated of HTTP header authentication i used custom authentication and get header value from OWA_UTIL.GET_CGI_ENV(‘x-pass’) and do my task that i want.