question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected logout when creating a doc with same id after error

See original GitHub issue

When trying to create a document with the same ID, react-admin-firebase now throws an error saying the id is already in use as of PR #86, but it now also logs you out whenever that error is thrown as described in related issue #77.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
benwindingcommented, Apr 14, 2020

Finally got this fixed, the problem was due to the AuthProvider not correctly implementing the HandleAuthError function which triggers an Auth failed by default.

Peek 2020-04-14 11-45

1reaction
davidstackiocommented, Apr 14, 2020

Tested and the fix works for me. Thanks @benwinding!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unexpected logout behavior · Issue #1634 · ory/hydra - GitHub
Describe the bug The documentation on logout found here: https://www.ory.sh/docs/hydra/oauth2#logout suggests that the user agent will be ...
Read more >
Your personal details match the profile which already exists
You would get this error because your passport number matches another profile that already exists on the CGI Federal or USTravelDocs website. The...
Read more >
You have been automatically logged out for security reasons ...
First of all the error message itself is misleading. There is no security reason for the error message. This rather is an issue...
Read more >
An item with the same key has already been added
An item with the same key has already been added. And the exception details: [ArgumentException: An item with the same key has already...
Read more >
Error code reference - Azure AD B2C - Microsoft Learn
Error code Message Notes AADB2C90002 The CORS resource '' returned a 404 not found. Hosting the page cont... AADB2C90010 The request does not contain a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found