.net core Identityserver 4中自定义GrantType流的新端点

.net core Identityserver 4中自定义GrantType流的新端点,.net-core,asp.net-core-mvc,identityserver4,.net Core,Asp.net Core Mvc,Identityserver4,我使用的是.Net代码2.3和IdentityServer 4,到目前为止,我已经通过实现从IExtensionGrantValidator接口继承的自定义类实现了自定义granttype=myauth。当我使用grant_type=myauth请求/connect/tokentokenendpoint时,我得到了成功响应 现在,我需要一个自定义端点,而不是/connect/token,比如/custom/token,用于我的自定义授予类型请求。 请建议

我使用的是.Net代码2.3和IdentityServer 4,到目前为止,我已经通过实现从IExtensionGrantValidator接口继承的自定义类实现了自定义granttype=myauth。当我使用grant_type=myauth请求/connect/tokentokenendpoint时,我得到了成功响应

现在,我需要一个自定义端点,而不是/connect/token,比如/custom/token,用于我的自定义授予类型请求。 请建议