Is there a property in the context variable (ResourceOwnerPasswordValidationContext) that lets me access the IP address of the client sending the initial request for an auth.
标签:
IdentityServer4
相关问题
- Identity Server 4 - Resource Owner Password Grant
- Customizing ASP.NET Identity
- Oidc client js: silent access token renew breaks b
- Is there a way to generate an access token from wi
- Identity Server 4 Infinite Loop
相关文章
- 商城项目使用了identityServer4 , 那么客户余额等特殊信息该怎么处理。
- vue 使用 oidc-client 连接IdentityServer4
- dotnet core3.1 ocleot集成IdentityServer4 error:" Cl
- .net core identityServer4 返回401时如何自定义返回信息?
- AntiForgeryToken Expiration Blank Page
- Pass custom header value to IdentityServer4 Login
- Custom login UI for IdentityServer 4
- Oauth2 with Postman and IdentityServer4
There is no information like that for you to grab within that context. Your only Option is to inject
IHttpContextAccessor
into yourResourceOwnerPasswordValidator
and then you can get the request IP from theHttpContext.Request
object.