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 key support #486

Closed
syjer opened this issue Jul 10, 2018 · 2 comments
Closed

Api key support #486

syjer opened this issue Jul 10, 2018 · 2 comments
Milestone

Comments

@syjer
Copy link
Member

syjer commented Jul 10, 2018

Currently, for accessing the api, we have a basic auth system which is kinda cumbersome.

Add a api key type system.

alfio.model.user.User -> add a new type "API_KEY"

Should be filtered out in the admin page.

@syjer syjer changed the title Api key "support" Api key support Jul 10, 2018
syjer added a commit that referenced this issue Jul 10, 2018
syjer added a commit that referenced this issue Jul 10, 2018
@syjer
Copy link
Member Author

syjer commented Jul 10, 2018

TODO:

  • hide API_KEY users in user tables
  • add a new section: api key
  • check update user too...
  • add valid_to date (where null = forever) : (note, this will be exposed when we will redo the admin)

@syjer
Copy link
Member Author

syjer commented Jul 19, 2018

can be considered done.

@syjer syjer closed this as completed Jul 19, 2018
cbellone pushed a commit that referenced this issue Jul 19, 2018
* #486 initial work for an api key solution

* #486 refactor

* #486 expose user type, refactor, hide api_key type from user list

* #486 expose ui for handling api key

* #486 expose ui for handling api key

* 486 initial work for valid-to

* #486 add description/rename token in apikey, cleanup
cbellone added a commit that referenced this issue Aug 4, 2018
cbellone added a commit that referenced this issue Aug 4, 2018
cbellone added a commit that referenced this issue Aug 4, 2018
cbellone added a commit that referenced this issue Aug 4, 2018
@cbellone cbellone added this to the 1.16 milestone Sep 18, 2018
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