Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.73 KB

File metadata and controls

52 lines (43 loc) · 1.73 KB

Tutorial: oneid-oauth-middleware

This project provides middleware for ASP.NET web applications to easily implement secure login using Ontario Health's OneID service. It handles the complex OAuth 2.0 and OpenID Connect flows, allowing developers to add OneID authentication with minimal setup. Key features include configuring application details, managing the login redirect, handling callbacks, validating tokens, and providing helper functions for logout and token refresh.

Source Repository: https://github.com/Clinical-Support-Systems/oneid-oauth-middleware

flowchart TD
    A0["OneIdAuthenticationOptions
"]
    A1["OneIdAuthenticationExtensions
"]
    A2["OneIdAuthenticationHandler
"]
    A3["OneIdAuthenticationBackChannelHandler
"]
    A4["OneIdAuthenticationEnvironment
"]
    A5["OneIdHelper
"]
    A1 -- "Uses configuration" --> A0
    A1 -- "Registers handler" --> A2
    A2 -- "Reads configuration from" --> A0
    A2 -- "Uses for backchannel calls" --> A3
    A3 -- "Reads configuration from" --> A0
    A0 -- "Specifies environment" --> A4
    A5 -- "Uses configuration" --> A0
    A5 -- "Uses via HttpClient" --> A3
Loading

Chapters

  1. OneIdAuthenticationOptions
  2. OneIdAuthenticationEnvironment
  3. OneIdAuthenticationExtensions
  4. OneIdAuthenticationHandler
  5. OneIdAuthenticationBackChannelHandler
  6. OneIdHelper

Generated by AI Codebase Knowledge Builder