<?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: Retrieve token in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/retrieve-token/qaa-p/12574599#M4715261</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;as far as I understand, the scenario is as follows:&lt;/P&gt;&lt;P&gt;Your app and your approuter are bound to an instance of XSUAA.&lt;BR /&gt;When the user logs in, the token is issued by this XSUAA - (oauth-server)&lt;BR /&gt;However, the xsuaa is not the Identity Provider.&lt;BR /&gt;As such, XSUAA will delegate the user-verification to the connected IdP.&lt;BR /&gt;Not matter which one is chosen (depends on the user, where he is stored)&lt;BR /&gt;So if I'm correct, to fetch a JWT token, you always turn to the URL which is revealed to you in the binding of XSUAA to your app (use cf env &amp;lt;appname&amp;gt; to view the credentials) or  you create a service key for the XSUAA instance, then view the credentials there.&lt;/P&gt;&lt;P&gt;Does this sound reasonable?&lt;BR /&gt;Cheers,&lt;BR /&gt;Carlos&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 16:57:29 GMT</pubDate>
    <dc:creator>CarlosRoggan</dc:creator>
    <dc:date>2022-08-11T16:57:29Z</dc:date>
    <item>
      <title>Retrieve token</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-token/qaq-p/12574598</link>
      <description>&lt;P&gt;Hi Guys. I created a cloud application with approuter. When a user goes to the link there are a few identity providers(cloud foundry). I would like to retrieve a token for one of them. For example, A is the first provider (default), B is another (connected to ByD). I need a token for the second one. Which API endpoint do I need to use? Thanks&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2085496-1.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 14:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-token/qaq-p/12574598</guid>
      <dc:creator>fshestov</dc:creator>
      <dc:date>2022-08-11T14:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve token</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-token/qaa-p/12574599#M4715261</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;as far as I understand, the scenario is as follows:&lt;/P&gt;&lt;P&gt;Your app and your approuter are bound to an instance of XSUAA.&lt;BR /&gt;When the user logs in, the token is issued by this XSUAA - (oauth-server)&lt;BR /&gt;However, the xsuaa is not the Identity Provider.&lt;BR /&gt;As such, XSUAA will delegate the user-verification to the connected IdP.&lt;BR /&gt;Not matter which one is chosen (depends on the user, where he is stored)&lt;BR /&gt;So if I'm correct, to fetch a JWT token, you always turn to the URL which is revealed to you in the binding of XSUAA to your app (use cf env &amp;lt;appname&amp;gt; to view the credentials) or  you create a service key for the XSUAA instance, then view the credentials there.&lt;/P&gt;&lt;P&gt;Does this sound reasonable?&lt;BR /&gt;Cheers,&lt;BR /&gt;Carlos&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 16:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-token/qaa-p/12574599#M4715261</guid>
      <dc:creator>CarlosRoggan</dc:creator>
      <dc:date>2022-08-11T16:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve token</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-token/qaa-p/12574600#M4715262</link>
      <description>&lt;P&gt;you're right. The process happens exactly this way. But I would like to get a list. of Idp via API call and choose one and send a request to obtain a token &lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-token/qaa-p/12574600#M4715262</guid>
      <dc:creator>fshestov</dc:creator>
      <dc:date>2022-08-11T17:25:40Z</dc:date>
    </item>
  </channel>
</rss>

