email-already-exists is thrown in the firebase-admin sdk. I don’t think it is thrown in the client SDK.
For the client SDK, the following errors would be thrown when linking an existing account to another one, or signing in with a new account where the email exists in another one:
- auth/account-exists-with-different-credential
- auth/credential-already-in-use
- auth/email-already-in-use
In all of the above, the error may contain the additional fields:
- error.email: The email for the associated credential you tried to sign in with
- error.credential: The credential itself (typically this is returned for OAuth credentials)
You can lookup the existing account to find out what providers exist for it:
firebase.auth().fetchProvidersForEmail(error.email)
.then(function(providers) {
// Providers would be an array of the form:
// ['password', 'google.com']
});
For auth/account-exists-with-different-credential, you can then sign in with that provider and if needed link the error.credential to the signed in user.
firebase.auth().currentUser.link(error.credential);
If the error occurred when linking (auth/credential-already-in-use), you can directly sign in with that credential
firebase.auth().signInWithCredential(error.credential):
Содержание
- Connect_Error_Social_Login_Failure: Easy Ways to Fix
- An old EA account could be reason for the issue
- What causes the connect_error_social_login_failure error?
- What can I do to fix the connect_error_social_login_failure error?
- 1. Unlink your old/disabled account
- 1.1 If the account is old but accessible
- 1.2 If the account is disabled
- 2. Link your main EA account
- 3. Check if the console server is working
- 4. Contact EA Support
- Fortnite — How To Fix “Failed To Link Account Already Associated With A Different Account” Error
- Manage Account
- Account Connections
- Sign Out & Sign In
- article
- Alexa Account Linking Debugging Tips
- Getting started with account linking
- Troubleshooting guide
- Problem: «We were unable to link at this time.» or «Linking unsuccessful»
- Problem: Account linking succeeds, but after some time the customer has to link accounts again
- Problem: Account linking does not work on certain devices (blank screen, new window opened on smartphones)
- Problem: Issues when account linking with Google
- Other important tips/requirements
- If all else fails
An old EA account could be reason for the issue
- This error could have occurred if your Xbox/Steam is linked to a disabled or old EA account.
- You can fix it by unlinking your disabled EA account from Xbox and linking the main EA account.
- Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here) .
- Click Start Scan to find Windows issues that could be causing PC problems.
- Click Repair All to fix issues affecting your computer’s security and performance
- Restoro has been downloaded by 0 readers this month.
Many users have reported getting a connect_error_social_login_failure error when trying to launch EA games on Steam, PlayStation, and Xbox.
The error message screen also comes up with a Reset password button. And, no matter how many times they changed the password, it says wrong credentials.
Here, in this guide, we will discuss some ways to fix the issue and the reasons for its occurrence. Let’s get started!
There could be various reasons for this sign-in error to occur. Some of them are listed here:
- Your old EA account is linked to the gaming platform – If you have an old account added to Steam or Xbox, you might get this error. You need to log in using the same performance and remove it from the EA website to fix it.
- Your EA account is disabled – If your EA account was disabled for some reason, you might get this error. To resolve this, you need to contact EA support.
1. Unlink your old/disabled account
1.1 If the account is old but accessible
- Visit the EA website and sign in to your EA account that you want to unlink.
- Go to Profile.
- Navigate to the Account Settings page.
- Locate the Connections section from the left pane and click Unlink beside the Steam logo.
- Click Yes to confirm the action.
1.2 If the account is disabled
If the linked account is disabled, you can’t unlink the EA account from your Xbox account. Instead, you need to contact EA support to get that account reinstated. Once done, you can use the above method to unlink the account from Xbox.
Read more about this topic
2. Link your main EA account
- Once unlinked the old account, open any EA games on your gaming console or platform.
- Enter your main EA account’s email address and password on the login page.
- Once you sign in, your accounts will be linked.
3. Check if the console server is working
- Visit Xbox or PlayStation website.
- Check if all the servers and services are up and running.
- If the servers are down, you must wait for some time.
4. Contact EA Support
If none of the above solutions fix the error, you should contact EA Support. Explain the whole scenario, the instances when you got the error, and the methods you tried. This will help them understand the situation and assist you better.
So, this is how you can fix the connect_error_social_login_failure error while accessing EA games on Steam. Try them and let us know what worked for you in the comments below.
Still having issues? Fix them with this tool:
Источник
Fortnite — How To Fix “Failed To Link Account Already Associated With A Different Account” Error
Follow the instructions below
Manage Account
Open up your Epic Games launcher. Select your username, and then Manage Account.
Account Connections
On the page you can change some of your personal information. Under Connections navigate to the Accounts tab, and here disconnect or unlink the account where you’re failing to log in. In case you are using multiple Epic Games accounts on one console for example, then make sure to make the same disconnections on the other account.
Sign Out & Sign In
When this is done, you can minimize the window, and go back to your Epic Games launcher, or the device you prefer to use. Make sure to sign out of your account. This is essential, as you have made some changes with the account connections. You should then be able to sign in to your Epic Games account, or you can use one of the other methods to log in to your account. When going back to your browser, you should be able to re-link the old connection and the issue should be resolved.
Источник
article
Alexa Account Linking Debugging Tips
Getting started with account linking
- For a tutorial on implementing account linking, check out the following link on implementing Login with Amazon:
- https://developer.amazon.com/blogs/post/Tx3CX1ETRZZ2NPC/Alexa-Account-Linking-5-Steps-to-Seamlessly-Link-Your-Alexa-Skill-with-Login-wit
- If you’re looking for account linking best practices, or advice on how to go about implementing account linking from the beginning, take a look at our blog post:
- https://developer.amazon.com/blogs/alexa/post/0fbd9756-6ea0-43d5-b213-873ede1b0595/tips-for-successfully-adding-account-linking-to-your-alexa-skill
- Some use cases for account linking (such as obtaining customer address) can best be achieved via Customer Permissions. For more information on permissions, take a look at our documentation:
- https://developer.amazon.com/docs/alexa/custom-skills/configure-permissions-for-customer-information-in-your-skill.html
- For Authorization Code Grant flow, see here for steps:
- https://developer.amazon.com/docs/login-with-amazon/authorization-code-grant.html
- For tips on troubleshooting App-to-App Account Linking, check out the following guide:
- https://forums.developer.amazon.com/articles/240817/app-to-app-account-linking-debugging-tips.html
Troubleshooting guide
Problem: «We were unable to link at this time.» or «Linking unsuccessful»
Solution: These are the most common error encountered when configuring account linking. They are usually resolved through the following steps:
- Check your authorization server for logs
- More often than not, account linking fails due to an error sent by your authorization server. Check the responses from your authorization server to see what you are sending back to Alexa when your authorization server is presented with the authorization code in exchange for an access/refresh token pair.
- If you don’t have access to the service you are account linking with, it would be a good idea at this point to get access to additional logs. A good way to do this is via this excellent guide on setting up AWS API gateway as an intermediary:
- https://developer.amazon.com/blogs/post/TxQN2C04S97C0J/how-to-set-up-amazon-api-gateway-as-a-proxy-to-debug-account-linking
- For smart home skills, check your AcceptGrant response
- If you are building a smart home skill and using account linking, you might have the «Send Alexa Events» permissions turned on within the Developer Console for your skill so that you can send events to the Alexa Event Gateway. If so, you need to respond to the AcceptGrant directive that is sent to your skill during account linking. More details here:
- https://developer.amazon.com/docs/alexa/device-apis/alexa-authorization.html#directives
- If you are building a smart home skill and using account linking, you might have the «Send Alexa Events» permissions turned on within the Developer Console for your skill so that you can send events to the Alexa Event Gateway. If so, you need to respond to the AcceptGrant directive that is sent to your skill during account linking. More details here:
- Troubleshoot using the Alexa app in your browser
- When enabling skills on your account, you can use the Alexa app in your browser. The URL of the Alexa app will change depending on the region set in your account. For example:
- US — alexa.amazon.com
- UK — alexa.amazon.co.uk
- JP — alexa.amazon.co.jp
- You can test account linking like you would on your mobile Alexa app, but with the addition of developer tools and debuggers on your browser. This will let you view the network requests going back and forth for account linking, and you may notice a parameter or some other issue you may have missed. You especially want to check to make sure the state parameter stays the same throughout the account linking process.
- When enabling skills on your account, you can use the Alexa app in your browser. The URL of the Alexa app will change depending on the region set in your account. For example:
- Check that your server is responding within 4.5 seconds
- When your authorization server is responding to the access token request, your server needs to respond within 4.5 seconds. If it doesn’t, the request will timeout and account linking won’t succeed. For other requirements for the access token requirements, check out further details here:
- https://developer.amazon.com/docs/alexa/account-linking/requirements-account-linking.html#access-token-uri-requirements
- When your authorization server is responding to the access token request, your server needs to respond within 4.5 seconds. If it doesn’t, the request will timeout and account linking won’t succeed. For other requirements for the access token requirements, check out further details here:
Problem: Account linking succeeds, but after some time the customer has to link accounts again
Solution: This usually indicates that Alexa was unable to use the provided refresh token to grab a new access/refresh token pair.
- Ensure that the access token time to live (TTL) is more than 5 minutes.
- Ensure that your authorization server can successfully refresh the access/refresh token pair when presented with a refresh token by Alexa.
- Ensure that you are not invalidating refresh tokens too early — Alexa may take some time after the access token has expired to refresh the token, and if your authorization server has already invalidated the refresh token, Alexa will not be able to refresh the access/refresh token pair and your customer will have their account linking disabled. More details here:
- https://developer.amazon.com/docs/alexa/account-linking/requirements-account-linking.html#access-token-uri-requirements
Problem: Account linking does not work on certain devices (blank screen, new window opened on smartphones)
Solution: This may indicate that that you have failed to add domains from which external content (such as images) is pulled from your log-in page.
- If your skill pulls in any content from domains other than your authorization URI’s domain, you will need to add those domains to your skill’s configuration. You can add these under the Developer Console > Tools > Account Linking > Domain List tab for your skill.
- Make sure you have all external domains the account linking calls/uses added. This needs to include all domains to which you’re making external calls. If you make a call to oauth.sample.com, simply adding sample.com isn’t adequate — you need to add oauth.sample.com.
Problem: Issues when account linking with Google
Solution: As a result of Google’s OAuth architecture the refresh_token is only provided the first time a user authorizes. If you authorize many times on the same account (for example, while testing) that specific account won’t return a refresh_token, so when our service requests one, none is returned. It’s also possible you haven’t set access_type=offline when making the query from Google, which means you are not requesting the refresh token.
- To fix any specific account to work with refresh tokens go to https://www.google.com/settings/u/1/security and revoke access from your app. Then the next time you authenticate it will treat it as a first time authentication, and the skill should refresh properly again.
Other important tips/requirements
- Popups aren’t supported. If you try to link with a popup, it won’t work.
- For skills linking with implicit grants, the query parameters for sensitive information, such as the account linking token and state, should be included as a URL fragment starting with #. It cannot be in a query string. An example format would be as below:
- https://pitangui.amazon.com/spa/skill/account-linking-status.html?vendorId=AAAAAAAAAAAAAA#state=xyz∾cess_token=2YotnFZFEjr1zCsicxLpAA&token_type=Bearer
- Note that the account linking URL must be a HTTPS URL, with a certificate from an Amazon approved CA authority:
- https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReport
- When sending your response with the access token, make sure you send a 200 OK status code.
- Amazon supports HTTP basic and credentials in request body as authentication methods. If your service uses another type of authentication, account linking will fail. For more information about client authentication, please read https://tools.ietf.org/html/rfc6749#section-2.3.1.
- More specifically, for authentication code type, the access token must be sent in JSON by default as per the OAuth2 spec. If the parameter is in the response as a parameter string by default, account linking will fail.
- Notably, Github will fail for this reason. Unfortunately, at this time it’s impossible to account link with Github without some sort of intermediary API gateway.
If all else fails
If you have followed all of these debugging steps above, either try again at a later time or file a contact us case with the all of following information:
- Skill ID:
- Account linking test credentials:
- The account and password for logging into the account linking page — do not provide your Amazon developer nor retail account credentials
- Customer ID of the account that failed:
- Find your customer ID here: https://developer.amazon.com/mycid.html
- Exact time and date (in UTC, or with time zone) you tried and failed to link the skill
- Region(s) you’re trying to link with:
- EU/NA/Asia?
- Device/Type platform:
- Android/iOS/browser
- Version of Alexa app:
- Under Settings -> about the Alexa app
- Description/link to screenshot of issue:
- Empty page?
- Seeing ‘Unable to link’ page?
- Button on page not functioning?
As well as the following account linking configuration from the Account Linking tab on the Developer Console:
- Authorization Url:
- Domains List:
- Account Linking Type:
- Implicit Grant or Authorization Code Grant
Источник
Updated: 2 months ago
Article ID: 35744
Common Problems
- Account Linking Error: An error occurred while linking your accounts. Please try again later.
- I can’t link my console account to Battle.net
You can link your console account to your Battle.net account on the Battle.net Account Management Page.
If you cannot link your console and Battle.net accounts:
- Make sure your Battle.net account is not a trial account
- Log in to your Battle.net Account Management Page to complete registration
- Check if your Battle.net account already has a console account linked to it. Each Battle.net account may only have one PSN, one Xbox Live, and one Nintendo Switch account linked to it
- Check if your console account is already linked to a different Battle.net account. The same console account cannot be linked to multiple Battle.net accounts
- You may need to unlink the wrong account, and link the correct account
Account links have cooldowns limiting how often they can be changed. You will receive a warning in Battle.net Account Management Page specifying the cooldown length when disconnecting an account type that has a cooldown.
If you tried these steps and you still can’t link your accounts, or you don’t know what Battle.net account was linked to your console account, contact us.
Please log in to submit feedback.