Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

ASP.Net Zero Azure AD Integration #11924


User avatar
0
wmaiuri created

Hi,

While implementing authentication using OpenId/Azure AD, we found an issue where LoginUrl wasn't filled, causing the exception when the "OpenIdConnect" button was clicked on the web page.

I have added the following code on the C# side to retrieve loginUrl and everything seems to be working.

Are we missing something or is it an issue with the shipped code?

** Abp Version **

Product Type - Angular/ .Net 5 "name": "abp-zero-template", "version": "10.2.0",

Another issue I found is the name and surname were interchanged. Also, an extra comma is in the Name field (snapshot below). I checked our Azure AD information and they seem to be fine. Can you confirm if this is an issue on your or our end?

Thank you, Sachin


3 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @wmaiuri,

    Can you upgrade the following packages to the latest version? https://www.nuget.org/packages/Abp.AspNetZeroCore https://www.nuget.org/packages/Abp.AspNetZeroCore.Web/

  • User Avatar
    0
    wmaiuri created

    We plan to migrate to the latest version of Abp, but since we are close to release, that may not be an option. I have updated the ABP code, and it appears to be working. Thanks for your confirmation.

    I received this error when trying to update the packages on our existing solution.

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Oh sorry, the packages are the latest version on dotnet. You need to update to the latest version of Abp. Does your problem still occur? If it is not resolved, I will re-examine what we can do.