I'm trying to migrate IdentityServer to OpenIddict, I have followed these steps -https://docs.abp.io/en/abp/latest/Migration-Guides/OpenIddict-Step-by-Step but in my application I'm using LoginCustomModel which is inheriting LoginModel, but now after migration LoginModel is giving below error I'm using LoginCustomModel to overide OnGetExternalLoginCallbackAsync method. I'm getting same issue in CustomLogout as well where I'm inheriting LoggedOutModel to override OnGetAsync. Please help, how can I migrate LoginCustomModel and CustomLogout.
ABP Framework version: v8.1.1
UI Type:React
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): yes
Exception message and full stack trace:NA
Steps to reproduce the issue: Migrate from IdentityServer to OpenIddict
47 Answer(s)
-
0
hi
Try this:
[ExposeServices(typeof(OpenIddictSupportedLoginModel),typeof(LoginModel))] public class LoginCustomModel : OpenIddictSupportedLoginModel
-
0
-
0
hi
Can you try to rename it to
CustomLoginModel
?[ExposeServices(typeof(OpenIddictSupportedLoginModel),typeof(LoginModel))] public class CustomLoginModel : OpenIddictSupportedLoginModel
-
0
-
0
-
0
Good news.
-
0
-
0
hi
Please check the logs from the browser console and the app's logs.
-
0
-
0
hi
Please share the
logs.txt
of your backend app.You can share it via https://wetransfer.com/
Thanks.
liming.ma@volosoft.com
-
0
hi
Please share the
logs.txt
of your backend app.You can share it via https://wetransfer.com/
Thanks.
liming.ma@volosoft.com
Hi, can you please access log file https://filetransfer.io/data-package/O7hNVBhc#link. https://wetransfer.com/ is giving some issue.
-
0
hi
Can you share the response of
https://localhost:44368/Abp/ApplicationConfigurationScript
?Or you can share a test project that can reproduce the problem.
Thanks.
-
0
Thanks, Can you share a project? In this way, I will find the reason.
Thanks.
-
0
-
0
Can you share a complete project?
-
0
Can you share a complete project?
Can we have a call? I can share the issues over call
-
0
hi
It will be best if you can share a simple project.
-
0
hi
It will be best if you can share a simple project.
It would be difficult to create sample project with everything, I really appreciate if we can have a quick call.
-
0
hi
ok, Can you join the meeting and share your screen?
https://us05web.zoom.us/j/83341286808?pwd=Z66iu3ugRnGduaQo7cWnWavbfAW01X.1
-
0
hi
ok, Can you join the meeting and share your screen?
https://us05web.zoom.us/j/83341286808?pwd=Z66iu3ugRnGduaQo7cWnWavbfAW01X.1
Sorry, I went out for lunch, can we connect now? or whatever time suits you. Thank a lot.
-
0
hi
Please join the meeting and share your screen https://us05web.zoom.us/j/82519350147?pwd=sT0pZZW6SntVHECd6H7b8encaUwaAG.1
-
0
Run the
abp install-libs
command to solve this issue.