Talk: Error when using SSO

Created on 19 Sep 2019  路  2Comments  路  Source: coralproject/talk

Hi guys, first thanks for this awesome project!!

So , I had a issue when trying to use SSO, i just called the method to login and did not work.

Screen Shot 2019-09-19 at 5 26 41 PM

image

Screen Shot 2019-09-19 at 5 29 29 PM

image

Screen Shot 2019-09-19 at 5 20 39 PM

image

*Expected behavior:Create the user in mongo only once when embed.login({JWT_TOKEN}) was called*

*Actual behavior:When i call embed.login({JWT_TOKEN}) there are two calls trying to create an user, the first call creates the user and the second one throw an error*

Related Issues:

Versions:

  • NodeJS: 10.15.1
  • NPM: 6.4.1
  • MongoDB: 4.0.4
  • Redis: 5.0.5
  • Browser: Chrome
  • OS: Mac OS
bug

Most helpful comment

We've discovered the issue with the race, it should be corrected in v5.1.0.

All 2 comments

We've discovered the issue with the race, it should be corrected in v5.1.0.

Tyvm @wyattjoh

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cristiandean picture cristiandean  路  5Comments

raphaelpor picture raphaelpor  路  4Comments

aliblackwell picture aliblackwell  路  4Comments

honzie picture honzie  路  4Comments

allanassis picture allanassis  路  3Comments