Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi - I'm trying to setup a Twitter login for members on Umbraco 9.5 but seem unable to get it to work as the users email is not being provided.
public static class TwitterMemberAuthenticationExtensions { public static IUmbracoBuilder AddTwitterMemberAuthentication(this IUmbracoBuilder builder) { builder.AddMemberExternalLogins(logins => { logins.AddMemberLogin( memberAuthenticationBuilder => { memberAuthenticationBuilder.AddTwitter( memberAuthenticationBuilder.SchemeForMembers(TwitterMemberExternalLoginProviderOptions.SchemeName), options => { options.RetrieveUserDetails = true; options.ConsumerKey = "my-key"; options.ConsumerSecret = "my-secret"; }); }); }); return builder; } }
If you set options.RetrieveUserDetails = false then you get this error message:
The requested provider (UmbracoMembers.Twitter) has not provided the email claim http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, the account cannot be linked.
With options.RetrieveUserDetails = true you get HttpRequestException: Response status code does not indicate success: 403 (Forbidden).
In the logs is says: Email request failed with a status code of Forbidden
Any one any idea or perhaps know if an example of how to configure this correctly? The google provide just works.
Any help much appreciated.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Member Twitter External login provider error - Umbraco 9.5
Hi - I'm trying to setup a Twitter login for members on Umbraco 9.5 but seem unable to get it to work as the users email is not being provided.
If you set options.RetrieveUserDetails = false then you get this error message:
The requested provider (UmbracoMembers.Twitter) has not provided the email claim http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, the account cannot be linked.
With options.RetrieveUserDetails = true you get HttpRequestException: Response status code does not indicate success: 403 (Forbidden).
In the logs is says: Email request failed with a status code of Forbidden
Any one any idea or perhaps know if an example of how to configure this correctly? The google provide just works.
Any help much appreciated.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.