Users who log in via Google, Facebook etc., user accounts are not created #1389
Replies: 5 comments
-
they are created when the sign up using oauth , what database are you using ? |
Beta Was this translation helpful? Give feedback.
-
Thanx for response, i'm using Mongodb. In response, two entries are created in the bank, one in ACCOUNTS and the other in USERS, in my project I need to link Events and Orders to users, but with this type of access it does not work. |
Beta Was this translation helpful? Give feedback.
-
Hi there! So the If you have another collection, like |
Beta Was this translation helpful? Give feedback.
-
I understand your point of view, but I believe that the relationship between user and (order, product, etc.) has to be made within the visual backend. Anyway, I was unable to link a "registered" user via social media to any collection. |
Beta Was this translation helpful? Give feedback.
-
What is also very relevant, as these users are not created, it is impossible to create (posts, products), whatever for .. with an authenticated user, because the generated token is not recognized by Strapi. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
Users who log in via Google, Facebook etc., user accounts are not created. I have some doubts about this, because my way of thinking may be wrong.
In the ideal world, the user logs in, via Google, for example, then is redirected to another screen where he completes his registration, in which his user account has already been created.
Question, how to link the access account with a user account?
It's possible ?
Expected behavior
In my current scenario, I need exactly that, since the user must have the ability to create events, on my frontend. I have already tested and with login only access I am not allowed for anything.
Beta Was this translation helpful? Give feedback.
All reactions