Activities of "maliming"

Good news.

hi

The module must be referenced.

hi

I don't know if swagger supports custom authorize urls, I'll check.


var testClientId = configurationSection["SBC_Mobile:ClientId"];
if (!testClientId.IsNullOrWhiteSpace())
{
    await CreateClientAsync(
        name: testClientId,
        scopes: commonScopes,
        grantTypes: new[] { "password", "client_credentials", "authorization_code"},
        secret: configurationSection["SBC_Mobile:ClientSecret"].Sha256(),
        requireClientSecret: true,
        redirectUri: "https://localhost:44317"
    );
}
        
private async Task<ApiResource> CreateApiResourceAsync(string name, IEnumerable<string> claims)
    {
        var apiResource = await _apiResourceRepository.FindByNameAsync(name);
        if (apiResource == null)
        {
            apiResource = await _apiResourceRepository.InsertAsync(
                new ApiResource(
                    _guidGenerator.Create(),
                    name,
                    name + " API"
                ),
                autoSave: true
            );
        }

        foreach (var claim in claims)
        {
            if (apiResource.FindClaim(claim) == null)
            {
                apiResource.AddUserClaim(claim);
            }
        }

        if (apiResource.FindSecret((name + "Secret").Sha256()) == null)
        {
            apiResource.AddSecret((name + "Secret").Sha256());
        }

        return await _apiResourceRepository.UpdateAsync(apiResource);
    }
Scope = "email openid profile offline_access role phone address SBC",
var response = await httpClient.Value.IntrospectTokenAsync(new TokenIntrospectionRequest
{
    Address = disco.IntrospectionEndpoint,
    ClientId = "SBC",
    ClientSecret = "SBCSecret",
    Token = token.Text,
});
var response = await httpClient.Value.RequestRefreshTokenAsync(new RefreshTokenRequest()
{
    Address = disco.TokenEndpoint,
    ClientId = clientId.Text,
    ClientSecret = secret.Text,
    RefreshToken = refreshToken.Text,
});

hi

The current design cannot remove these infrastructure modules.

How should we handle https://tenant1.api.getabp.net:44302/swagger/index.html for tenant1?

What do you mean?

Another thing that I found. If I update a Client (just edit, change some field, can save), it doesn't work anymore. It says that the secret is invalid. Looking at the database, table IdentityServerClientSecrets, I found that the column "Value" was modified and it has the same value as the previous record. Can you have a look at that as well?

Does this resolve the problem? https://support.abp.io/QA/Questions/3404#answer-5bd6d8f3-7f01-53fa-6050-3a05049ffeee

hi

ABP Framework version?

hi

Can you share a simple project to reproduce? liming.ma@volosoft.com

ok

Showing 10071 to 10080 of 12938 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 12, 2026, 06:07
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.