branch icon

Support external login to link a user. #15053

Description

Resolves #

Checklist

  • I fully tested it as developer / designer and created unit / integration tests

How to test it?

Add an external login provider and try to link a user. See https://support.abp.io/QA/Questions/5546

<PackageReference Include="AspNet.Security.OAuth.GitHub" Version="7.0.3" />

context.Services
.AddAuthentication()
.AddGitHub(options =>
{
    options.ClientId = "638e0d18efa094ed39b5";
    options.ClientSecret = "eb5245dd1a563d64de3650dc98fc49003bd687a4";
    options.ClaimActions.Remove(ClaimTypes.Email);
    options.ClaimActions.MapJsonKey(AbpClaimTypes.Email, "email");
});
Version
8.0.0-rc.1
Release Date
21 नवंबर, 2023
Labels
abp-module-account