higgood / seechat-folks

4 stars 1 forks source link

API users are unable to authenticate. #49

Open wammar opened 4 months ago

wammar commented 4 months ago

Context The Prosper project critically relies on the SeeChat x Ideas APIs.

Describe the bug There's no clear documentation for authenticating users through the API endpoints.

[Required] Where did you encounter the bug None

[Required] Reality vs. Expectation Reality: https://api.staging.seechat.ai/docs does not provide endpoints for authenticating users. Expectation: platforms which depend on the API should be able to authenticate users through the API.

Screenshots N/A

Thank you for improving the Idea Factory!!

wammar commented 4 months ago

q: is this the expected behavior? @Mox301 addressed this in a recent PR and currently being reviewed by @muhammadnasr

wammar commented 4 months ago

@muhammadnasr there's an existing task for this at https://github.com/higgood/seechat/issues/207

wammar commented 4 months ago

Duplicate of https://github.com/higgood/seechat/issues/207

muhammadnasr commented 4 months ago

How much credit should the API user have, 3 like other users or what?

wammar commented 4 months ago

Yes, please use the same credit system. In the future, we will have group-level control but this is not necessary at the moment. Any user, regardless of which interface they're using for the SeeChat x Ideas backend (ie, the API or the seechat.ai/ideas) should have the same treatment.

muhammadnasr commented 4 months ago

Duplicate of https://github.com/higgood/seechat/issues/207

muhammadnasr commented 4 months ago

Agreed with @wammar to have API keys with 100 free credits

wammar commented 3 months ago

Lowering the priority of this task to focus our efforts in this sprint on the competition use case.