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

Alternatives for the Discord oauth sign-in #70

Open
coavins opened this issue Feb 6, 2024 · 2 comments
Open

Alternatives for the Discord oauth sign-in #70

coavins opened this issue Feb 6, 2024 · 2 comments
Labels
priority: p3 Lowest priority type: feature New feature or request

Comments

@coavins
Copy link

coavins commented Feb 6, 2024

Hi,

I don't have a Discord account, and I can't find a way to use the application without signing in via Discord. As a result, I'm not able to access the application at all.

Is it possible to implement an offline mode that uses the browser's local storage? This would be ideal for my use case.

Thanks!

@bourgeoisor
Copy link
Owner

Hi @coavins! I can give a bit of background info. A Discord alternative is not a categorical "no" but I can't see this happening any time soon in a state where I'm the sole developer and have a full time jobs & other things to take care of.

XIV ToDo was actually originally a local storage only app (upon its initial release), but in the following months there was an extremely high demand for a way to save & sync progress between multiple devices. That meant a back-end with an API and a few other things I didn't have.

Since I had / have very limited time to work on this project (I have a full time job after all), there were two compromises that I made to myself to meet the high demand for the "sync feature":

  1. I did not want to have users trust me with any credentials data, so a "username / password" didn't seem like a good idea. I went with oauth instead. I had many choices (all the usual ones: Google, Facebook, Twitter, etc.) but ended up settling with Discord because there was a precedent in the XIV community (FFXIV Collect, Universalis, etc.)

  2. And this is the one that matters to you: I knew that if I had to support both an API back-end (with its own storage) as well as local storage, it would slow down any new features tremendously (I'd basically have to code each feature twice, plus maintenance / bugs in multiple places).

I hope this answers some questions you may have.

@bourgeoisor bourgeoisor changed the title Unable to use the site without a discord account Alternatives for the Discord oauth sign-in Feb 9, 2024
@bourgeoisor bourgeoisor added type: feature New feature or request priority: p3 Lowest priority labels Feb 9, 2024
@coavins
Copy link
Author

coavins commented Feb 9, 2024

Thank you for the background, I really appreciate it! It makes sense that the new backend would work better for more people, it's just a shame we couldn't have it both ways. I prefer to handle syncing my data myself, so a fully offline version would have been perfect for me.

I will take a look and see if I can just run the whole application myself without any login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Lowest priority type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants