-
Notifications
You must be signed in to change notification settings - Fork 18
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
Validate user-input API key #46
Comments
@dlebauer @KristinaRiemer While implementing the validation using the API key, I found that currently, the As by performing this query, The app initializes the bety database from this URL, For now, should I perform validation based on the user's email in the database?. |
So you checked that all api keys are null with something like I'm not really sure why the apikeys aren't showing up. When I log into my TERRA REF Bety account, I can see my own key under users. @dlebauer? |
For the purposes of developing the functionality, feel free to use something like Instructions for generating api keys are here: https://pecan.gitbook.io/betydb-data-access/api-for-url-based-queries#for-administrators. There is also a button in the interface where users can generate / recreate their own apikeys. |
Done in #69 |
After the API key is entered in the Welcome page, it should be validated (#18)
select count(*) from users where apikey = $user_provided_apikey
should return1
The text was updated successfully, but these errors were encountered: