This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4k
Cannot add new routes to the endpoint router #1364
Labels
Comments
@brockallen e.g. to add saml2p (or ws-fed) endpoints...we should discuss this for 2.0 |
Will this apply to ASP.NET Core 1.x too? Or do you want people to go the controller route for that? |
We can do this for 2.0, but 1.x might be too much work... and it might technically be a breaking change. |
Could we get some extra enum values for 1.x? |
You already have several:
:) |
Do we want to allow our endpoints to be replaced? e.g. /authorize, etc? |
brockallen
added a commit
that referenced
this issue
Aug 5, 2017
brockallen
added a commit
that referenced
this issue
Aug 7, 2017
I think the outcome of our conversation was "no" that's not something we're trying to design for. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Cannot use the
AddEndpoint
in theBuilderExtensions
due to the use of theEndpointName
enum.Endpoints registered by:
EndpointName
is then registered usingConstants.EndpointPathToNameMap
:These are then used in the
EndpointRouter
to figure out theEndpointName
from the path, and be matched back to the registered endpoint.But you can't extend an enum, so endpoints outside of the OIDC spec cannot currently be registered.
The text was updated successfully, but these errors were encountered: