Skip to content

Add authentication to website #56

@Marenthyu

Description

@Marenthyu

Adding some kind of oauth-flow to the website would allow us to let people use the website to pull packs, change their profile, etc...
This would help with people spamming the bot, as longer sprees can be done somewhere where it doesn't disturb streamers. Sure, people can still do it, but streamers can effectively tell them to do it on the website if they dont want the spam.

I am unexperienced with doing this properly, but i would assume that we should add a basic level of encryption and not just store the oauth token directly locally.

My idea: require an asymmetrically encrypted cookie that stores the oauth token, whcih gets send to the website to authenticate the user for any request which requires said token.

On the other hand: as we are using https already, i'm uncertain if we need to encrypt said token or if storing the oauth token directly would be enough.
Otherwise: Add a session token and only store the oauth token server-side, though i doubt this is worth the effort.

Thoughts/Ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    low priorityNice-To-Have, but most likely not happening soon.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions