<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic cl_http_client pass authorization token in request header in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-http-client-pass-authorization-token-in-request-header/m-p/610092#M25127</link>
    <description>&lt;P&gt;My problem is that the URL i want to use needs an Authorization header.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Authorization Bearer&amp;lt;Accesstoken&amp;gt;.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;i have the access token with me. But when i configure the URL in an RFC destination with the Logon procedure as no Logon, it still asks for a Logon ID and Password when the request is called using cl_http_client.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I have used the propertytype_no_logon_popup but it does not suppress the logon popup.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;but whenever i call with create_by_destination the popup is always triggerred.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;we cannot use the create_by_url option because, we do not want to hardcode the URL. &lt;/P&gt;
  &lt;P&gt;Is there any way to configure the RFC destination so that, it does not trigger the popup and just uses the Authorization header?&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 05:40:23 GMT</pubDate>
    <dc:creator>vamsixk</dc:creator>
    <dc:date>2018-03-29T05:40:23Z</dc:date>
    <item>
      <title>cl_http_client pass authorization token in request header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-http-client-pass-authorization-token-in-request-header/m-p/610092#M25127</link>
      <description>&lt;P&gt;My problem is that the URL i want to use needs an Authorization header.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Authorization Bearer&amp;lt;Accesstoken&amp;gt;.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;i have the access token with me. But when i configure the URL in an RFC destination with the Logon procedure as no Logon, it still asks for a Logon ID and Password when the request is called using cl_http_client.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I have used the propertytype_no_logon_popup but it does not suppress the logon popup.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;but whenever i call with create_by_destination the popup is always triggerred.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;we cannot use the create_by_url option because, we do not want to hardcode the URL. &lt;/P&gt;
  &lt;P&gt;Is there any way to configure the RFC destination so that, it does not trigger the popup and just uses the Authorization header?&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 05:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-http-client-pass-authorization-token-in-request-header/m-p/610092#M25127</guid>
      <dc:creator>vamsixk</dc:creator>
      <dc:date>2018-03-29T05:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: cl_http_client pass authorization token in request header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-http-client-pass-authorization-token-in-request-header/m-p/610093#M25128</link>
      <description>&lt;P&gt;I fixed this issue by using the method create_by_url instead of create by destination.&lt;/P&gt;&lt;P&gt;we used a workaround to store the URL in an RFC destination and build it dynamically, by fetching the details from the RFC destination instead of hardcoding it.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-http-client-pass-authorization-token-in-request-header/m-p/610093#M25128</guid>
      <dc:creator>vamsixk</dc:creator>
      <dc:date>2018-10-09T07:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: cl_http_client pass authorization token in request header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-http-client-pass-authorization-token-in-request-header/m-p/610094#M25129</link>
      <description>&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;i have got the same business requirement as you mentioned.&lt;/P&gt;&lt;P&gt;kindly can u let us know, complete solution steps for the above requirement asap.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manjunath &lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 10:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-http-client-pass-authorization-token-in-request-header/m-p/610094#M25129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-07-30T10:18:37Z</dc:date>
    </item>
  </channel>
</rss>

