Skip to content

fromorbonia/OIDC-SPA-ClientOnly

Repository files navigation

Example: Single Page App using Microsoft OIDC

For very simple apps, especially where you don't need an active server, a Single Page App that can simply rely on authentication and identity information provided by an OIDC provider (such as Facebook) is much easier to build. It means you don't have anything heavy weight to implement at your end.

Getting Started

See - full example workthrough here: Medium - Example Sinlge Page App Using Microsoft OIDC

Prerequisites

This project was created with Visual Studio 2019, and is an ASP.NET Core 3 Web Application

The example is targeted to Microsoft Azure AD, so you would need a tenant configured to connect to. However, the code will work with any OIDC Provider

Deployment

This sample can be run locally, as long as it can reach the OIDC provider to carry out authentication

Built With

  • Visual Studio 2019 - ASP.NET Core 3 and Razor pages
  • oidc-client-js - OpenID Certified JavaScript library

License

This is just code brought together to help others get started quickly, nothing unique. Licensed under Zero-Clause BSD - see LICENSE.md

Acknowledgments

About

Example Single Page App using Microsoft OIDC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages