This release introduces the following changes:
-
Two new providers have been added to the list of providers already supported by the
OpenIddict.Client.WebIntegration
package:- Contentful (thanks @jerriep! ❤️)
- Genesys Cloud (thanks @MikeAlhayek! ❤️)
-
The web providers source code generator now generates constant strings for the static settings defined by some providers (e.g regions):
options.UseWebProviders()
.AddShopify(options =>
{
options.SetClientId("[client identifier]")
.SetClientSecret("[client secret]")
.SetAccessMode(OpenIddictClientWebIntegrationConstants.Shopify.AccessModes.Online);
})
.AddStripeConnect(options =>
{
options.SetClientId("[client identifier]")
.SetClientSecret("[client secret]")
.SetAccountType(OpenIddictClientWebIntegrationConstants.StripeConnect.AccountTypes.Express);
})
.AddZoho(options =>
{
options.SetClientId("[client identifier]")
.SetClientSecret("[client secret]")
.SetRegion(OpenIddictClientWebIntegrationConstants.Zoho.Regions.EuropeanUnion);
});
- The X/Twitter provider was updated to use the new
x.com
endpoints, which avoids forcing users to authenticate ontwitter.com
before being redirected tox.com
to continue the authorization process on the new domain.
Note
As part of this change, the default display name of the X/Twitter provider was changed to X (Twitter)
.
Developers who prefer a different display name can override the default one using the dedicated options.SetProviderDisplayName(...)
API:
options.UseWebProviders()
.AddTwitter(options =>
{
options.SetClientId("[client identifier]")
.SetRedirectUri("callback/login/twitter")
.SetProviderDisplayName("Twitter");
});
-
The Alibaba/Battle.net/Cognito/Lark/Zoho providers now throw an exception when an invalid region is configured instead of using the default value when an unrecognized region is explicitly set.
-
The Zoho provider was updated to support the new United Kingdom region (
https://accounts.zoho.uk/
).