<?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: Why is it so hard to secure an API in .NET Core? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Why-is-it-so-hard-to-secure-an-API-in-NET-Core/m-p/80928#M51001</link>
    <description>&lt;P&gt;I simply need a programming interface where I can send a username and passphrase and it returns me a token which I use on resulting requests by adding it to the header in the trust organization: carrier (token) we should access obtained. Better&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 10:55:11 GMT</pubDate>
    <dc:creator>Bram</dc:creator>
    <dc:date>2022-01-24T10:55:11Z</dc:date>
    <item>
      <title>Why is it so hard to secure an API in .NET Core?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Why-is-it-so-hard-to-secure-an-API-in-NET-Core/m-p/72647#M44889</link>
      <description>&lt;DIV class="_3xX726aBn29LDbsDtzr_6E _1Ap4F5maDtT1E1YuCiaO0r D3IL3FD0RFy_mkKLPwL4"&gt;&lt;DIV class="_292iotee39Lmt0MkQZ2hPV RichTextJSON-root"&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I just wanted to create a simple token authentication to secure my API but it's all so difficult. I shouldn't have to go through hours and hours of tutorials to add one of the most basic app requirements there is. The starter templates don't have auth if you're picking an API unless it's that azure thing. The SPA templates use OIDC in a mixture of MVC/SPA that's fairly complex. I don't want OIDC with Identity Server, and I don't want OAuth2.0.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I just want a simple JWT token that I can use with authentication and authorisation. There are no official guides to implement this with the JwtBearer provided by Microsoft just some made by the community, but those never follow the simplest case and always use IdentityServer or OAuth, Okta, etc.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I just want an API where I can send a username and password and it returns me a token which I use on subsequent requests by adding it to the header in the format of Authorization: Bearer (token) which let's me access secured endpoints with authentication and authorization. Can someone please help me with resources to accomplish this?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Jul 2020 16:11:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Why-is-it-so-hard-to-secure-an-API-in-NET-Core/m-p/72647#M44889</guid>
      <dc:creator>clinthulk2</dc:creator>
      <dc:date>2020-07-28T16:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is it so hard to secure an API in .NET Core?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Why-is-it-so-hard-to-secure-an-API-in-NET-Core/m-p/80928#M51001</link>
      <description>&lt;P&gt;I simply need a programming interface where I can send a username and passphrase and it returns me a token which I use on resulting requests by adding it to the header in the trust organization: carrier (token) we should access obtained. Better&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 10:55:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Why-is-it-so-hard-to-secure-an-API-in-NET-Core/m-p/80928#M51001</guid>
      <dc:creator>Bram</dc:creator>
      <dc:date>2022-01-24T10:55:11Z</dc:date>
    </item>
  </channel>
</rss>

