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

Validate user's OpenAI tokens. #15

Open
kordless opened this issue Sep 18, 2023 · 0 comments
Open

Validate user's OpenAI tokens. #15

kordless opened this issue Sep 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@kordless
Copy link
Contributor

We need to validate the user's tokens for talking to OpenAI.

If the user token is bad, we need to take action to disable the endpoint.

Let's assume the user enters a bad token, which will approximate the issue with a valid token expiring later.

If the token is expired, we'll get a dead letter. While this is a good start, the issue is we want to disable the ingest, to prevent additional tasks being spawned.

The disabled endpoint for the pipeline(table for now) should respond with an error that the token is expired.

@kordless kordless added the enhancement New feature or request label Sep 18, 2023
@kordless kordless self-assigned this Sep 18, 2023
@kordless kordless mentioned this issue Sep 18, 2023
@kordless kordless added this to the October 15 milestone Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant