aspnet / Security

[Archived] Middleware for security and authorization of web apps. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
1.27k stars 600 forks source link

How to add runtime openId configuration in .net core #1828

Closed EddieGahan closed 6 years ago

EddieGahan commented 6 years ago

After a research, I got to know that we can use SchemeProvider to use AddScheme at runtime from below links.

https://github.com/aspnet/AuthSamples/tree/master/samples/DynamicSchemes

My concern is how to add OpenIdConnectOptions at run time where all values of OpenIdConnectOptions will come from database in .net core

Eilon commented 6 years ago

There is no direct support for this at this time. We are tracking this feature request at https://github.com/aspnet/Security/issues/1826.