- ABP Framework version: v7.0.3
- UI Type: Blazor Server
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace:
- Steps to reproduce the issue:
Hello,
We are currently working on a task to do authentication with SAML2 to an IdP which is hosted by our customer.
I have searched the forums and documentation, but couldn't find much information on SAML. Is there support in ABP to use an External Provider via SAML?
3 Answer(s)
-
0
hi
If you can use SAML authentication in asp net core web app. then you can use it in abp.
Do you have document or code to use SAML in asp net core?
And we have a
ExternalLoginProvider
system: https://github.com/abpframework/abp/issues/4977#issuecomment-670006297 -
0
Hello,
I have implemented this in asp net core as a custom RemoteAuthenticationHandler and added it to ABP. I get succesfully forwarded to the idP to authenticate and then get a post callback to the callbackpath in my ABP appllication. However, as part of the SAML flow, I need to decrypt the result using a certificate (data in the post callback). This certificate is available through the options when I forward to the Idp. But when the callback comes, I am without state (no selected tenant, I guess), so I cannot read the certificate to decrypt.
Any suggestions on how to solve this? I can pass a state value that I will get back in the callback, but I am not sure how to use it to get the correct options.
-
0
hi
Can you share your code? or a simple project?
I need to check the code or reproduce the problem first.
Thanks.
liming.ma@volosoft.com