Skip to content

Commit

Permalink
feat: small refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegoO committed Apr 22, 2024
1 parent fbd1992 commit 0e92d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VirtoCommerce.Platform.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public void ConfigureServices(IServiceCollection services)
options.AllowPasswordFlow()
.AllowRefreshTokenFlow()
.AllowClientCredentialsFlow()
.AllowCustomFlow("impersonate");
.AllowCustomFlow(PlatformConstants.Security.GrantTypes.Impersonate);
options.SetRefreshTokenLifetime(authorizationOptions?.RefreshTokenLifeTime);
options.SetAccessTokenLifetime(authorizationOptions?.AccessTokenLifeTime);
Expand Down

0 comments on commit 0e92d5c

Please sign in to comment.