Skip to content
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

anonymous users #15

Closed
raymatos opened this issue Nov 11, 2015 · 4 comments
Closed

anonymous users #15

raymatos opened this issue Nov 11, 2015 · 4 comments

Comments

@raymatos
Copy link

Does superlogin have support for anonymous users?

@colinskow
Copy link
Owner

You can easily configure CouchDB and Cloudant to allow anonymous users. Please tell me about your use case and what exactly you would like SuperLogin to do.

@raymatos
Copy link
Author

Mobile app - users can choose to either create an account or skip (anonymous).  User can at a later point choose to create an account.

I can handle it different ways within the app, but I rather not do a something like

If anonymous 

Save on device

Else 

Save on couch db 

I rather save everything to couch db and deal with migrating a user from anonymous to normal.


Sent from Mailbox

On Wed, Nov 11, 2015 at 7:32 PM, Colin Skow notifications@github.com
wrote:

You can easily configure CouchDB and Cloudant to allow anonymous users. Please tell me about your use case and what exactly you would like SuperLogin to do.

Reply to this email directly or view it on GitHub:
#15 (comment)

@colinskow
Copy link
Owner

Based on what you've said you want to do I think the simplest way is to simply use a session_id to keep track of your anonymous users which can be stored in a cookie. After the user has created an account, you can then add the user_id to all the anonymous records for that session. You can also manually add the session_id to the user record in SuperLogin.

I don't think there's any feature I can add to SuperLogin that will make this easier for you that would handle all possible use cases.

@colinskow
Copy link
Owner

I'm closing this. Feel free to re-open if anyone has any further ideas on anonymous users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants