-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
backThis issue is related to the Svelte backend or the DBThis issue is related to the Svelte backend or the DBenhancementNew feature or requestNew feature or request
Description
Add the option to use the oauth acces token instead of our secret token to make inference API calls when the user is logged in.
Note that currently an oauth access token has a duration of 8 hours, but we can extend it to 30 days if we want.
There's also a refresh token mechanism being worked on on hub's side, once that's done the access token can be refreshed. (When refreshing the token, we need to store the new refresh token, the old one becomes unusable)
The refresh token is valid for 3 months, and each renew/refresh makes is valid for another 3 months
Metadata
Metadata
Assignees
Labels
backThis issue is related to the Svelte backend or the DBThis issue is related to the Svelte backend or the DBenhancementNew feature or requestNew feature or request