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

easydb strategy: Add option whether to save the login token #78

Closed
stefandesu opened this issue Jan 21, 2021 · 2 comments
Closed

easydb strategy: Add option whether to save the login token #78

stefandesu opened this issue Jan 21, 2021 · 2 comments
Labels
feature undefined question undefined

Comments

@stefandesu
Copy link
Member

When I added the easydb strategy, I wasn't sure about saving the access token for the user since, at this point, we don't need it. However, since we are planning integrations for the future where it will be needed, we decided to save it.

I was wondering whether it would make sense to give the user the option whether to save the token or not. That way, when the user only wants to use the easydb login for authentication, they can be sure that no application will be able to access that easydb instance under their account. This is especially important since easydb does not use the typical OAuth system where the access token only works in combination with an application token, meaning that anyone getting access to the token will have access to easydb under the user's account.

What do you think, @nichtich? Implementation would be fairly trivial, but we might have to add an option to the provider config to indicate whether, for a certain provider, there will be tokens involved or not.

@stefandesu stefandesu added feature undefined question undefined labels Jan 21, 2021
@nichtich
Copy link
Member

nichtich commented Feb 1, 2021

This also applies to Wikidata, doesn't it? For the user I'd avoid the word "token" but differentiate between simple login (just check your identity) and granting login server application editing rights.

@stefandesu
Copy link
Member Author

Yes, it also applies to Wikidata, and yeah, that makes sense. I'm not sure about the application flow though. Also we'd need to have a way for the user to grant editing rights even after connecting the account.

@stefandesu stefandesu closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature undefined question undefined
Projects
None yet
Development

No branches or pull requests

2 participants