Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterkovecses/oktaauthdemo
This is a demo app for Okta OpenID in Blazor WASM with a ASP.NET Core Web API Backend.
https://github.com/peterkovecses/oktaauthdemo
blazor-webassembly okta openid-connect webapi2
Last synced: 9 days ago
JSON representation
This is a demo app for Okta OpenID in Blazor WASM with a ASP.NET Core Web API Backend.
- Host: GitHub
- URL: https://github.com/peterkovecses/oktaauthdemo
- Owner: peterkovecses
- Created: 2023-12-01T11:01:02.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2023-12-01T12:15:06.000Z (12 months ago)
- Last Synced: 2023-12-02T13:47:24.828Z (12 months ago)
- Topics: blazor-webassembly, okta, openid-connect, webapi2
- Language: CSS
- Homepage:
- Size: 118 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OktaAuthDemo
This is a demo app for Okta OpenID in Blazor WASM with a ASP.NET Core Web API Backend.Steps:
- Create an Okta Workforce Identity Cloud registration https://developer.okta.com/signup/
- Register the application.
- Set these redirect URIs:
https://localhost:7264/authentication/login-callback and
https://localhost:7264/authentication/logout-callback
- In the appsettings, replace OKTADOMAIN and CLIENTID placeholders with the values obtained after registering the application with Okta.Sign in with GitHub issue
The Okta Workforce Identity Cloud registration can be done easily with the Sign in with GitHub option, but I found that when running the application, if we also log in with a GitHub account, the redirection does not work properly, we can only navigate back to the page manually. However, after registration, it is easy to add test users, which we can use when logging into our application.