can you share the error logs
[11:02:47 INF] Request finished HTTP/1.1 GET https://scopeuat.doctrz.in:44322/.well-known/jwks - 200 1652 application/json;charset=UTF-8 1.7569ms [11:02:47 INF] Request starting HTTP/1.1 POST https://scopeuat.doctrz.in:44322/connect/token - application/x-www-form-urlencoded 217 [11:02:47 INF] The request URI matched a server endpoint: Token. [11:02:47 INF] The token request was successfully extracted: { "code": "[redacted]", "grant_type": "authorization_code", "redirect_uri": "https://scopeuat.doctrz.in", "client_id": "Angular", "code_verifier": "YTJ5bmdpQXBiQlZhcmxwODR4ak9Ed0RnQVlpbHVjcVYuRmxBenlDU2lnLl95" }. [11:02:47 INF] Dynamic claims is disabled, The session will not be checked. [11:02:47 INF] The response was successfully returned as a JSON document: { "error": "invalid_grant", "error_description": "The specified authorization code is no longer valid.", "error_uri": "https://documentation.openiddict.com/errors/ID2016" }. [11:02:47 INF] Request finished HTTP/1.1 POST https://scopeuat.doctrz.in:44322/connect/token - 400 178 application/json;charset=UTF-8 13.6781ms
what value i should use for cookie 'AspNetCore.Identity.Application' for connect/authorize request? or rather how should i generate the cookie for AspNetCore.Identity.Application variable in request of connect/authorize
hi
https://abp.io/docs/latest/framework/architecture/modularity/extending/customizing-application-modules-overriding-services?_redirected=B8ABF606AA1BDF5C629883DF1061649A#example-overriding-a-repository
thanks.what the use of istatic, ispublic and IsDefault in AbpRoles table? is there any documentation for all the abp table relatino and column explanation?
hi
The
EfCoreIdentityUserRepository
is in the Identity module, which is an open-source module.https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityUserRepository.cs#L15
ok. How can i override necessary methods related to only this class? bcz i do not want to maintain the whole module source code so that future version updates are easy to handle
ok, How can I reproduce your problem?
Download the identity module with source code. not all efcore files and manager files are present. even while debugging can not naviage to implementation of the EfCoreIdentityUserRepository.cs file to make neccessary query changes.
I just want to ovveride this EfCoreIdentityUserRepository.cs repo functions to customize the queries as per my implementation to fetch tenantid from newly created table rather than abpuser table.
im not bale to find files not getting any errors. i would like to see all files including EfCoreIdentityUserRepository.cs files
You can try it. If there are any new situations, you can always give feedback.
i have downloaded the abp identity module in my solution. but still not able to find repositories in the solution to make query changes? please help.
it would be only in identity service i guess. How about adding a table user_tenant_association with userid and tenantid for association of tenant and user and keep the tenantid alwasy null in the existing abpusers table then use the tenantid from the newly created association table to check if the user association exist in the new user_tenant_association table? this way only single api change would be easy to handle.
hi
each sub domain will have its on branding images and style.
You can override the page to show different styles and images based on the current tenant.
i want my end users using angular app to be able to login to multiple tenants with single user. i want the end user to be able to login across different tenant based on some tenant user association as for current abp framework support only one tenant per user, how can i achieve this. please suggest.
We don't support this case.
i understand. it would be great if you could you please suggest guideline on how do we achieve this requirement keeping in mind abp framework so that we have to do minimal changes. Is the identity service always used as centralized authentication service for all microservices as well as UI apps?