Starts in:
0 DAY
22 HRS
42 MIN
9 SEC
Starts in:
0 D
22 H
42 M
9 S
Open Closed

Azure Open Id | Username and Email Already Taken #1725


User avatar
0
riz1992 created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I am facing an issue with Azure Open Id login, where if the user has been created prior to login with Azure AD, the below exception will be thrown.

However, if the user login with Azure Open Id first and the user detail was updated at the user module i.e. /Identity/Users, this error would not occur on the next login.

The user needs to be created first before the Go Live date so that the admin can assign proper role and grouping (Organization Unit). Afterwards, they can login with Azure Open Id with all the necessary roles assigned.

Is there any way for this to be achieve?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi Can you check this? https://github.com/abpframework/abp/pull/9534

    It will available in 4.4.

  • User Avatar
    0
    riz1992 created

    Hi maliming,

    I was able to solve the issue by upgrading to version 4.4.

    Thank you for your response.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06