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

API creation to register a device for an existing account >> security mechanism #53

Open
laurentchivot opened this issue Oct 7, 2021 · 7 comments

Comments

@laurentchivot
Copy link

We (a group of developpers) are on our way to propose an API to add device for an existing account.

We propose a two ways authentication to access this API

First request : authenticate via user credentials to get a token with a limited valid time

second request : API access with the above token.

we would like to get your feedback on this mechanism before going into dev.

Then we would like also to implement sort of quota on API use to prevent misuse of the API.

Would you prefer :

  1. number/time limitation of request to the API
  2. any other method that you think should be more appropriate

looking forward to hear from you

Laurent

@acasadoalonso
Copy link
Contributor

acasadoalonso commented Oct 7, 2021 via email

@acasadoalonso
Copy link
Contributor

acasadoalonso commented Oct 7, 2021 via email

@snip
Copy link
Contributor

snip commented Oct 7, 2021

When providing API we need some limits to prevent user to do bad things (like booking all available IDs, flooding server with requests, ...)

@laurentchivot
Copy link
Author

Sorry … still on my account … https://github.com/acasadoalonso/ogn-ddb It uses plain use id/password Take a look AC/. Sent from my iPad

On 7 Oct 2021, at 14:47, Laurent CHIVOT @.***> wrote:  We (a group of developpers) are on our way to propose an API to add device for an existing account. We propose a two ways authentication to access this API First request : authenticate via user credentials to get a token with a limited valid time second request : API access with the above token. we would like to get your feedback on this mechanism before going into dev. Then we would like also to implement sort of quota on API use to prevent misuse of the API. Would you prefer : number/time limitation of request to the API any other method that you think should be more appropriate looking forward to hear from you Laurent — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Hi Angel, thanks for replying, i will take a look at your repo.

The question then is, how could we help implementing your work to benefit from this API ?

regards

Laurent

@acasadoalonso
Copy link
Contributor

acasadoalonso commented Oct 7, 2021 via email

@laurentchivot
Copy link
Author

laurentchivot commented Oct 7, 2021 via email

@acasadoalonso
Copy link
Contributor

acasadoalonso commented Oct 7, 2021 via email

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

3 participants