We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8414e48 commit 6f2e804Copy full SHA for 6f2e804
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Core/Controllers/TokenAuthController.cs
@@ -116,9 +116,12 @@ public async Task<ExternalAuthenticateResultModel> ExternalAuthenticate([FromBod
116
);
117
}
118
119
+ var accessToken = CreateAccessToken(CreateJwtClaims(loginResult.Identity));
120
+
121
return new ExternalAuthenticateResultModel
122
{
- AccessToken = CreateAccessToken(CreateJwtClaims(loginResult.Identity)),
123
+ AccessToken = accessToken,
124
+ EncryptedAccessToken = GetEncryptedAccessToken(accessToken),
125
ExpireInSeconds = (int)_configuration.Expiration.TotalSeconds
126
};
127
0 commit comments