<?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>Question Re: SAP Cloud Platform . Java - AuthenticationHeaderProvider API  - Setting Email as nameId in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-cloud-platform-java-authenticationheaderprovider-api-setting-email-as/qaa-p/440314#M62883</link>
    <description>&lt;P&gt;I figured out that this error is caused due to the configuration of the Identity Provider.&lt;/P&gt;
  &lt;P&gt;The IDP sends the user Id instead of the E-Mail address as the name id.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;To fix this issue you need to get in contact with your identit provider administrator and ask him to change the settings accordingly.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2017 12:17:49 GMT</pubDate>
    <dc:creator>former_member314353</dc:creator>
    <dc:date>2017-04-06T12:17:49Z</dc:date>
    <item>
      <title>SAP Cloud Platform . Java - AuthenticationHeaderProvider API  - Setting Email as nameId</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cloud-platform-java-authenticationheaderprovider-api-setting-email-as/qaq-p/440313</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to authenticate against the SAP Jam Rest API using the SAP Identity provider.&lt;/P&gt;&lt;P&gt;To forward the user that has logged in via the IDP I tried to use the &lt;/P&gt;&lt;P&gt;AuthenticationHeaderProvider API.&lt;BR /&gt;&lt;BR /&gt;  &lt;/P&gt;&lt;P&gt;Sadly my Jam tenant returns a 401 Http Status.&lt;/P&gt;&lt;P&gt;The error message is: &lt;/P&gt;&lt;P&gt;com.sap.core.connectivity.apiext.impl.authentication.assertion.oauth.OAuthTokenGenerationException: Could not retrieve OAuth 2.0 access token for user C5*****&lt;/P&gt;&lt;P&gt;I know that SAP Jam needs the email address and not the the SAP user id to authenticate a user. I actually thought this was set by the "nameIdFormat" and "userIdSource" paramter of the DestinationConfiguration.&lt;/P&gt;&lt;P&gt;I followed this example to set up the DestinationConfiguration:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.hana.ondemand.com/cloud_portal_flp/frameset.htm?1f122e4427fa4e36b93fcbac2864005a.html" target="test_blank"&gt;https://help.hana.ondemand.com/cloud_portal_flp/frameset.htm?1f122e4427fa4e36b93fcbac2864005a.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If you have any suggestion how to fix this issue I would be very thankful.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 17:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cloud-platform-java-authenticationheaderprovider-api-setting-email-as/qaq-p/440313</guid>
      <dc:creator>former_member314353</dc:creator>
      <dc:date>2017-04-04T17:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Cloud Platform . Java - AuthenticationHeaderProvider API  - Setting Email as nameId</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cloud-platform-java-authenticationheaderprovider-api-setting-email-as/qaa-p/440314#M62883</link>
      <description>&lt;P&gt;I figured out that this error is caused due to the configuration of the Identity Provider.&lt;/P&gt;
  &lt;P&gt;The IDP sends the user Id instead of the E-Mail address as the name id.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;To fix this issue you need to get in contact with your identit provider administrator and ask him to change the settings accordingly.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 12:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cloud-platform-java-authenticationheaderprovider-api-setting-email-as/qaa-p/440314#M62883</guid>
      <dc:creator>former_member314353</dc:creator>
      <dc:date>2017-04-06T12:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Cloud Platform . Java - AuthenticationHeaderProvider API  - Setting Email as nameId</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cloud-platform-java-authenticationheaderprovider-api-setting-email-as/qaa-p/440315#M62884</link>
      <description>&lt;P&gt;hum, how did you fix it then? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 15:53:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cloud-platform-java-authenticationheaderprovider-api-setting-email-as/qaa-p/440315#M62884</guid>
      <dc:creator>jimmycat</dc:creator>
      <dc:date>2017-08-23T15:53:16Z</dc:date>
    </item>
  </channel>
</rss>

