Open Closed

ExternalProviderSettingsHelper after upgrade to 9.2.3 from 9.0.4 not working #9700


User avatar
0
sghorakavi@cpat.com created
  • Steps to reproduce the issue: UPgraded project from 9.0.4 to 9.2.3 version of Volo. We had Helper override methods for class "ExternalProviderSettingsHelper". We need them to save tenant specific external login settings. GetByNameAsync(string name, bool fallBackToHost = false) and public override async Task SetAsync(List<ExternalProviderSettings> settings) not working now. Please help.

66 Answer(s)
  • User Avatar
    0
    sghorakavi@cpat.com created

    [maliming] said: hi

    Can you share your test project so I can reproduce it?

    Thanks.

    I tried with sample code. It has issue as well. UI does not show pingone for tenant while setting has PingOne checked

    Another question: How can I add flag to set "Override host client information" In current project? That check box was missing in 9.0.4 version of volo. Sending you sample code via email.

    Do you have a share for me to copy zip file ? Please check your email. I have sent you two files that are changed from sample to duplicate the issue.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I used your project and everything works.

  • User Avatar
    0
    sghorakavi@cpat.com created

    Can you -save external provider data for tenant ?

    • Logout from tenant and
    • login back to tenant and see the data ?
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Also works(video): https://we.tl/t-psx6Z3DpFf

  • User Avatar
    0
    sghorakavi@cpat.com created

    [maliming] said: hi

    Also works(video): https://we.tl/t-psx6Z3DpFf

    Cool, Let me try again and will send you update

  • User Avatar
    0
    sghorakavi@cpat.com created

    [sghorakavi@cpat.com] said:

    [maliming] said: hi

    Also works(video): https://we.tl/t-psx6Z3DpFf

    Cool, Let me try again and will send you update

    It is working with sample. How do we set the flag to On "Allow tenants to override settings" using code. That is only visual difference between this version and 9.0.4.

  • User Avatar
    0
    sghorakavi@cpat.com created

    Sample Has UI: Our Project is missing that flag: If we can add that flag to TRUE using code. It will work. I do not know how to remove that flag as well to send you a sample. Can you pls help me ?

  • User Avatar
    0
    sghorakavi@cpat.com created

    I need to enable "EnabledForTenantUser" for both PingOne and Microsoft. I see code in ExternalProviderSettingsHelper.cs of volo but I cannot inherit from this class to enable this flag. How can I do it in 9.2.3 migration ?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The Override host client information feature was introduced >= 9.2.0

    Can you update the packages first?

    You will then see these options on the Settings page.

    Remember to remove all settings of Abp.Account.ExternalProviders, Set it after upgrading to the new version.

    Thanks.

  • User Avatar
    0
    sghorakavi@cpat.com created

    [maliming] said: hi

    The Override host client information feature was introduced >= 9.2.0

    Can you update the packages first?

    You will then see these options on the Settings page.

    Remember to remove all settings of Abp.Account.ExternalProviders, Set it after upgrading to the new version.

    Thanks.

    I upgraded whole project to vol 9.2.3 version long back pls check all the messages above. After upgrade removed all Abp.Account.ExternalProviders*.

    I am blocked by not able to set the value.
    Is there any code to set the value to TRUE by default. I do not need any UI change, just need to update value to TRUE so that tenant can override the values.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Could you share a project that reproduces the UI problem?

    Your problem is about UI. Use the code to change it is the wrong way.

    Thanks.

  • User Avatar
    0
    sghorakavi@cpat.com created

    [maliming] said: hi

    Could you share a project that reproduces the UI problem?

    Your problem is about UI. Use the code to change it is the wrong way.

    Thanks.

    Sure, Let me try to copy UI code to the sample problem. Thank you for the clue. I will send you project as soon as UI code is ported.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, that will be best.

  • User Avatar
    0
    sghorakavi@cpat.com created

    [maliming] said: ok, that will be best.

    Still in progress to use current UI with latest sample program.. Please keep this tkt open till I get back to you. Thank you

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, no problem

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    The bot will close inactive questions, but you can reopen them at any time.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20