-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow anonymous users to be logged in without reusing existing ones #4607
Comments
➤ Nikola Irinchev commented: Why is this closed? |
we discussed this in core backlog meeting - whats the customer-driven use case for this? if you want to use different users, then you can use username/password login |
➤ Nikola Irinchev commented: It's very useful for demos/tutorials. It's also trivial to implement, so I'm not sure why there's hesitancy to do it. Username password requires that we explain to users how to enable it, how to turn on automatic user confirmation, then in the demo code, we have to first register a user, then log them in, which is unintuitive for most users. Anon auth is automatically enabled when dev mode is enabled, which makes it very straightforward to write blog posts/tutorials. |
Reopening this because it would have allowed us to catch a potentially critical issue with the refresh token format change. |
@nirinchev what are the APIs that would be impacted by this request?
Which seems to return anonymous credentials. |
The issue is not about returning anonymous credentials at all. The problem is that you can't log in multiple anonymous users right now. Once you login an anonymous user, every time you call |
Ok so you want basically this check gone:
Should we not limit the number of anonymous users we allow? Maybe 1 is too restrictive, could we extend to 3 maybe? |
Why would we have a limit? What are we trying to guard against? |
The anonymous credentials are very useful for writing integration tests and it would be very helpful to have the option to tell the SDK not to return an existing user when logging in anonymously. From an end-user perspective, the experience I would like to see is:
The text was updated successfully, but these errors were encountered: