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 : OpenIddictSupportedLoginModelMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
Can you try to rename it to
CustomLoginModel?[ExposeServices(typeof(OpenIddictSupportedLoginModel),typeof(LoginModel))] public class CustomLoginModel : OpenIddictSupportedLoginModelMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
hi
Please share the
logs.txtof 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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)






