<?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 Re: Integration testing - How do I deal with authentication? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/81811#M51565</link>
    <description>&lt;P&gt;Combined testing is a very popular topic and the authors always want to explain how to manage validation? NF equipment&lt;/P&gt;&lt;P&gt;Thanks for sharing this information.&lt;/P&gt;&lt;P&gt;Download Here &lt;A href="https://beetvapp.me/" target="_self"&gt;Beetv&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Mar 2022 12:13:19 GMT</pubDate>
    <dc:creator>sai123</dc:creator>
    <dc:date>2022-03-27T12:13:19Z</dc:date>
    <item>
      <title>Integration testing - How do I deal with authentication?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/73886#M45828</link>
      <description>&lt;DIV class="_3xX726aBn29LDbsDtzr_6E _1Ap4F5maDtT1E1YuCiaO0r D3IL3FD0RFy_mkKLPwL4"&gt;&lt;DIV class="_292iotee39Lmt0MkQZ2hPV RichTextJSON-root"&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I am trying to setup some integration tests for a web API. Some of the routes in the controller I am interested in use the [Authorize] attribute, backed by JWT authentication using Identity Server 4, to prevent unauthorized from accessing certain resources.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I'd like to "disable" authorization for testing purposes: replacing Identity Server with a "fake" authorizer that always gives green light to all requests.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I am using TestServer to run the API I want to test in memory and I'd like to use ConfigureTestServices to override the authorisation method, but I can't find any easy way to stub/mock it.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Does anyone have any relevant experience with a similar problem?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Nov 2020 14:49:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/73886#M45828</guid>
      <dc:creator>himeshlem79</dc:creator>
      <dc:date>2020-11-06T14:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Integration testing - How do I deal with authentication?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/75522#M47095</link>
      <description>&lt;P data-unlink="true"&gt;There are multiple solutions available for this problem. One of the solution is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;API Gateway pattern&amp;nbsp;.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;First request goes to API gateway&lt;/LI&gt;&lt;LI&gt;API Gateway authenticates &amp;amp; authroizes the request&lt;/LI&gt;&lt;LI&gt;Authentication is stored on cache database such as Redis, Memcache etc with expiry time on it&lt;/LI&gt;&lt;LI&gt;Saved access token is returned to client&lt;/LI&gt;&lt;LI&gt;Client can use the saved access token in the subsequent calls for the some time span (i.e. until the token is valid)&lt;/LI&gt;&lt;LI&gt;Once the token is expired, the API gateway will authenticate and share the new token to client&lt;/LI&gt;&lt;LI&gt;This solution will reduce the need to authenticate each request and improves the performance&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;API Gateway is the single entry point for all the services. So, you may not need separate cache for each service. &lt;A href="https://acesetm.co/" target="_self"&gt;ACES ETM&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 14:06:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/75522#M47095</guid>
      <dc:creator>mathws</dc:creator>
      <dc:date>2021-03-30T14:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Integration testing - How do I deal with authentication?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/78228#M49119</link>
      <description>&lt;P&gt;Incorporation testing is extremely &lt;A href="https://crackview.com/" target="_self"&gt;&lt;FONT color="#000000"&gt;well&lt;/FONT&gt;&lt;/A&gt; known theme and author attempt to clarify generally How would I manage validation? NF Merchandise&lt;/P&gt;&lt;P&gt;A debt of gratitude is in order for haring this data with Us.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 06:14:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/78228#M49119</guid>
      <dc:creator>hofila2989</dc:creator>
      <dc:date>2021-08-28T06:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Integration testing - How do I deal with authentication?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/81811#M51565</link>
      <description>&lt;P&gt;Combined testing is a very popular topic and the authors always want to explain how to manage validation? NF equipment&lt;/P&gt;&lt;P&gt;Thanks for sharing this information.&lt;/P&gt;&lt;P&gt;Download Here &lt;A href="https://beetvapp.me/" target="_self"&gt;Beetv&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2022 12:13:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/81811#M51565</guid>
      <dc:creator>sai123</dc:creator>
      <dc:date>2022-03-27T12:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Integration testing - How do I deal with authentication?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/81842#M51585</link>
      <description>&lt;P&gt;It is a topic that is being prepared for testing and the authors try to explain it in general. How do I handle confirmation? NF product&lt;/P&gt;&lt;P&gt;Thank you for sharing this information with us.&lt;/P&gt;&lt;P&gt;Download &lt;A href="https://krnl.win/" target="_self"&gt;krnl&lt;/A&gt; executor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:07:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/81842#M51585</guid>
      <dc:creator>sai123</dc:creator>
      <dc:date>2022-03-28T13:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Integration testing - How do I deal with authentication?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/83322#M52550</link>
      <description>&lt;P&gt;In addition, authors always want to explain how to manage validation in combined testing, which is a very popular topic?&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.apextilers.com/services/extra-services/" target="_self"&gt;This&lt;/A&gt; is very useful information. Thanks for sharing it.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 13:28:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integration-testing-How-do-I-deal-with-authentication/m-p/83322#M52550</guid>
      <dc:creator>farrugia34</dc:creator>
      <dc:date>2022-07-04T13:28:53Z</dc:date>
    </item>
  </channel>
</rss>

