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

🚀 Feature: API Key support #603

Open
COMPLEXWASTAKEN opened this issue Sep 20, 2024 · 4 comments
Open

🚀 Feature: API Key support #603

COMPLEXWASTAKEN opened this issue Sep 20, 2024 · 4 comments
Labels
feature New feature or request

Comments

@COMPLEXWASTAKEN
Copy link
Sponsor Contributor

🔖 Feature description

I would like to suggest the addition of API key support for each user in order to handle requests that come to the API much more safely. It will grant users authentication for uploading via API until debugging on the back-end is done. By having this feature, the user experience is definitely enhanced and their interaction is made smoother because users can easily access API endpoints safely.

🎤 Pitch

i would like to use it so i can setup a app so they upload files

@COMPLEXWASTAKEN COMPLEXWASTAKEN added the feature New feature or request label Sep 20, 2024
@COMPLEXWASTAKEN
Copy link
Sponsor Contributor Author

i tryed making a self built one but i keep getting { message: 'Forbidden resource', error: 'Forbidden', statusCode: 403 } and i looked threw the code and couldnt find whats throwing it

@COMPLEXWASTAKEN
Copy link
Sponsor Contributor Author

found a way to do it i am using the refresh token to get a new token and then using request to upload but i would still like a full api key support if possible

@WolverinDEV
Copy link
Contributor

Well personally I just login with some users credential.
The access token is usually valid for a longer time then the application requires:
https://github.com/WolverinDEV/pingvin-share-shell/blob/master/pingvin-share/src/main.rs#L109

@COMPLEXWASTAKEN
Copy link
Sponsor Contributor Author

for some reason when i used the access token it would turn forbidden unless i used the refresh token to get a new token it was werid but i would like api keys for users or somthing like that i would make it if i knew typescript

@stonith404 stonith404 changed the title 🚀 Feature: Full api support 🚀 Feature: API Key support Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants