{"id":6371,"date":"2019-07-12T17:33:00","date_gmt":"2019-07-12T22:33:00","guid":{"rendered":"http:\/\/allidm.com\/blog\/?p=6371"},"modified":"2019-07-12T17:33:00","modified_gmt":"2019-07-12T22:33:00","slug":"secure-your-asp-net-core-app-with-oauth-2-0","status":"publish","type":"post","link":"https:\/\/allidm.com\/blog\/secure-your-asp-net-core-app-with-oauth-2-0\/","title":{"rendered":"Secure Your ASP.NET Core App with OAuth 2.0"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Do you ever wish you had a virtual scrap of paper you could use to write notes in the cloud? I\u2019ll show you how to build a simple ASP.NET Core app to keep track of your notes, plus how to use .NET Core\u2019s OAuth 2 authentication middleware to secure access to your app so your personal notes are kept private.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your note-keeping app will be a simple of an ASP.NET app. You will just transform the home page into a list of recent notes. If you add more than three notes, the oldest note will be discarded to make room for the most recent note.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, you\u2019ll build your note keeping app without any security. After that, you\u2019ll learn how to secure it with OAuth. To get started, please clone or download\u00a0<a href=\"https:\/\/github.com\/oktadeveloper\/okta-aspnet-oauth2-starter-example\">this starter project<\/a>\u00a0from GitHub.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Read more at Okta Blog &#8211; <a href=\"https:\/\/developer.okta.com\/blog\/2019\/07\/12\/secure-your-aspnet-core-app-with-oauth\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Secure Your ASP.NET Core App with OAuth 2.0 (opens in a new tab)\">Secure Your ASP.NET Core App with OAuth 2.0<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you ever wish you had a virtual scrap of paper you could use to write notes in the cloud? I\u2019ll show you how to build a simple ASP.NET Core app to keep track of your notes, plus how to use .NET Core\u2019s OAuth 2 authentication middleware to secure access to your app so your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[210,1901,1900],"tags":[1928,1129],"class_list":["post-6371","post","type-post","status-publish","format-standard","hentry","category-cloud-2","category-identity-access-management","category-identity-manager","tag-asp-net","tag-okta"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p25vfy-1EL","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/posts\/6371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/comments?post=6371"}],"version-history":[{"count":1,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/posts\/6371\/revisions"}],"predecessor-version":[{"id":6372,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/posts\/6371\/revisions\/6372"}],"wp:attachment":[{"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/media?parent=6371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/categories?post=6371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/tags?post=6371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}