aboutcode-org / aboutcode-org/vulnerablecode

Automate adding "Token" prefix to API key in VCIO API UI

Open
#1,152 0 comments 0 reactions 0 assignees View on GitHub
API documentation ui
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

In the [VCIO API UI](https://public.vulnerablecode.io/api/docs/), a user can add his or her API key by clicking the `Authorize` button and inserting the API key into the `Value:` textbox.

Above that textbox, the UI notes: `Token-based authentication with required prefix "Token"`. Some users, like me, might not immediately understand that they need to manually add that prefix, without the quotes and followed by a space, before inserting their API key.

![image](https://user-images.githubusercontent.com/11096678/225686116-9f47c5b2-f9da-4ad6-9cf2-47a65972f175.png)

Perhaps we could simplify the process by adding that prefix behind the scenes, allowing a user to simply add the API key?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.