GithubHelp home page GithubHelp logo

isabella232 / okta-aspnetcore-22-rest-api-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oktadev/okta-aspnetcore-22-rest-api-example

0.0 0.0 0.0 684 KB

Sample ASP.NET Core 2.2 REST API

License: Apache License 2.0

JavaScript 1.02% C# 61.56% CSS 4.98% HTML 32.44%

okta-aspnetcore-22-rest-api-example's Introduction

ASP.NET Core 2.2 REST API Example

This example app shows how to create a simple REST API using ASP.NET Core 2.2 with an ASP.NET MVC front end. This uses Okta for authentication.

Prerequisites: the .NET Core SDK

Getting Started

To install this example application, run the following commands:

git clone https://github.com/oktadeveloper/okta-aspnetcore-22-rest-api-example.git

This will install a local copy of the project. You will need to set up some environment variables before the app will run properly.

To integrate Okta's Identity Platform for user authentication, you'll first need to:

You will need to create an application in Okta:

  • Log in to your Okta account, then navigate to Applications and click the Add Application button
  • Select Service and click Next
  • Give your application a name (e.g. "Jounral Entries")
  • Click Done
  • Save your Client ID and Client Secret for later

Links

This example is described in the blog post: Build a REST API with ASP.NET Core 2.2

Help

Please raise an issue if you find a problem with the example application, or visit our Okta Developer Forums. You can also email [email protected] if would like to create a support ticket.

License

Apache 2.0, see LICENSE.

okta-aspnetcore-22-rest-api-example's People

Contributors

ibro avatar leebrandt avatar noinarisak avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.