Activités de "Fabio.Zinesi"

  • ABP Framework version: v7.3.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • **Tiered (for MVC)
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I am tring to add

 private void ConfigureExternalProviders(ServiceConfigurationContext context)
{
        context.Services.AddAuthentication()
            .AddMicrosoftIdentityWebApi( ..... )

but i cannot find the parameters for function. What are the right parameters?

After the login i have to make this kind of call:

var accessToken = await m_tokenAcquisition.GetAccessTokenForUserAsync(Configuration["AzureAd:Scopes:0"].Split(" "));

// Get username of logged in user
var userInfo = await m_graphServiceClient.Me.Request().GetAsync();
var userName = userInfo.DisplayName;

AuthDetails authDetails = new AuthDetails
{
    UserName = userName,
    AccessToken = accessToken
};

How can i do this?

Best Regards.

Répondre

It works. Thank you very much

Répondre

Thank You. I'll check it as soon as possible

Question

Hi,

it's possible to have the source code example of the demo https://x.leptontheme.com for Anguar UI?

Best Regards

Fabio Z.

Affichage de 21 à 24 sur 24 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11