Activities of "shobhit"

Hello Maliming, I have done following changes:

  1. identitySeverModule --> ConfigureServices() method done follwoing changes:
 .AddOpenIdConnect("AzureOpenId", "Azure AD OpenId", options =>
                {
                    options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
                    options.RequireHttpsMetadata = false;
                    options.SaveTokens = true;
                    options.GetClaimsFromUserInfoEndpoint = true;
                    options.Scope.Add("email");
                    options.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "sub");
                    options.CallbackPath = configuration["AzureAd:CallbackPath"];
                    //options.Authority = "https://login.microsoftonline.com/" + configuration["AzureAd:TenantId"] + "/v2.0/";
                    //options.ClientId = configuration["AzureAd:ClientId"];
                    //options.ClientSecret = configuration["AzureAd:ClientSecret"];
                })
                .WithDynamicOptions<OpenIdConnectOptions, OpenIdConnectHandler>(
                "AzureOpenId",
                options => {
                    options.WithProperty(x => x.Authority);
                    options.WithProperty(x => x.ClientId);
                    options.WithProperty(x => x.ClientSecret, isSecret: true);
                }
                )
  1. Values in ABPsetting looks like
[{"name":"Google","enabled":true,"properties":[{"name":"ClientId","value":"XXXX"}],"secretProperties":[{"name":"ClientSecret","value":"XXXX"}]},{"name":"Microsoft","enabled":true,"properties":[{"name":"ClientId","value":"XXXX"}],"secretProperties":[{"name":"ClientSecret","value":"XXXX"}]},{"name":"Twitter","enabled":false,"properties":[{"name":"ConsumerKey","value":null}],"secretProperties":[{"name":"ConsumerSecret","value":null}]},{"name":"AzureOpenId","enabled":true,"properties":[{"name":"ClientId","value":"YYYY"},{"name":"Authority","value":"YYYY"}],"secretProperties":[{"name":"ClientSecret","value":"YYYY"}]}]
  1. i could see Azure AD button
  2. On button click it is breaking:

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

Hi Team, I have to change below passwod validation message. how i can change?

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

Hi Team, Please share the step by step guide to configure "Google Authentication provider"

Hello Maliming, regarding microsoft provider:

  1. setup Azure AD B2C
  2. setup clientid and secret in ABP --> Providers
  3. new user can signup/sign with his/her outlook id
  4. Question is:
    1. it is not supporting Azure AD signup/sign
    2. it is not suppporting O365 signup/sign
  5. What i am missing and how to go about it.

Hello team. any update for me. i have tried to look from my side.

    .AddTwitter(TwitterDefaults.AuthenticationScheme, options => options.RetrieveUserDetails = true)
    .WithDynamicOptions<TwitterOptions, TwitterHandler>(
        TwitterDefaults.AuthenticationScheme,
        options =>
        {
            options.WithProperty(x => x.ConsumerKey);
            options.WithProperty(x => x.ConsumerSecret, isSecret: true);
        }
    )
    .AddOpenIdConnect("AzureOpenId", "Azure AD OpenId", options =>
    {
        options.Authority = "https://login.microsoftonline.com/" + configuration["AzureAd:TenantId"] + "/v2.0/";
        options.ClientId = configuration["AzureAd:ClientId"];
        options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
        options.CallbackPath = configuration["AzureAd:CallbackPath"];
        options.ClientSecret = configuration["AzureAd:ClientSecret"];
        options.RequireHttpsMetadata = false;
        options.SaveTokens = true;
        options.GetClaimsFromUserInfoEndpoint = true;
        options.Scope.Add("email");
    
        options.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "sub");
    });

As per my understand ".WithDynamicOptions<TwitterOptions, TwitterHandler>(" do a lot of magic. Now question is like "TwitterOptions, TwitterHandler" what will be option and handler for AzureAd and O365.

Thanks. if i understand it correctly it is setting in Azure Ad to support B2C authentication. Please confirm

Do you used separated identityserver project? Yes Do you use Resource Owner Flow? Not sure about his and never used it

Hello gterdem, Thanks but not sure where to find this. currently:

  1. On Login page
  2. Give user name and password
  3. Click on Cancel button

Actual Result: Page is becoming blank and loading for long time Expected Result: It should erase the given user credentials or should redirect to angular landing page

Hello Maliming, No worries. It is solved. Thanks for your help.

  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:NA
  • Steps to reproduce the issue:"NA
  1. Run anuglar app
  2. Click "login" button
  3. Identity page displayed
  4. click "Cancel" button
  5. page redirected to "http://localhost:4200/?error=access_denied" while it should redirect to "http://localhost:4200" only
  6. how to fix this issue?
Showing 151 to 160 of 297 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13