https://github.com/plusauth/plusauth-dotnet-starter
ASP.NET Core starter project demonstrating OIDC authentication using ASP.NET Core 3 and Microsoft.AspNetCore.Authentication.OpenIdConnect.
https://github.com/plusauth/plusauth-dotnet-starter
asp-net-core-3 csharp example oidc openidconnect plusauth
Last synced: 9 days ago
JSON representation
ASP.NET Core starter project demonstrating OIDC authentication using ASP.NET Core 3 and Microsoft.AspNetCore.Authentication.OpenIdConnect.
- Host: GitHub
- URL: https://github.com/plusauth/plusauth-dotnet-starter
- Owner: PlusAuth
- Created: 2020-06-18T00:23:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T21:50:25.000Z (over 4 years ago)
- Last Synced: 2025-10-29T20:53:44.541Z (9 months ago)
- Topics: asp-net-core-3, csharp, example, oidc, openidconnect, plusauth
- Language: C#
- Homepage:
- Size: 944 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PlusAuth ASP.NET Core 6.0 Starter Project
Simple ASP.NET Core 6.0 project demonstrates basic authentication flows with PlusAuth
Explore the PlusAuth ASP.NET Core 6.0 docs »
Table of Contents
---
## About The Project
This is a very simple ASP.NET Core project demonstrating basic authentication flows such as register, login and logout. To keep things simple we used ASP.NET Core 6.0 as the server framework and
`Microsoft.AspNetCore.Authentication.OpenIdConnect` for authentication.
## Prerequisites
Before running the project, you must first follow these steps:
1. Create a Plusauth account and a tenant at https://dashboard.plusauth.com
2. Navigate to `Clients` tab and create a client of type `Regular Web Application`.
3. Go to details page of the client that you've just created and set the following fields as:
- Redirect Uris: https://localhost:7200/callback
- Post Logout Redirect Uris: https://localhost:7200/
Finally write down your Client Id and Client Secret for server configuration
## Getting Started
First we need to configure the server. Open file named `appsettings.json`.
Then configure the file using your Client Id, Client Secret and your Plusauth tenant name.
Finally start the server:
dotnet watch run
The example is hosted at https://localhost:7200/
## License
This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.
## What is PlusAuth
PlusAuth helps to individuals, team and organizations for implementing authorization and authentication system in a secure, flexible and easy way.