brillout / telefunc

Remote Functions. Instead of API.
https://telefunc.com
MIT License
688 stars 31 forks source link

Improve docs on authentication #79

Closed brillout closed 8 months ago

brillout commented 1 year ago

From Discord:

How is one supposed to set response headers with Telefunc? I've thought on making my authentication through Telefunc, but I need to set a cookie on the response

Currently, the answer is that you should implement authentication endpoints directly on your server without Telefunc. Then follow https://telefunc.com/permissions.

We should improve the documenation to clarify that.

As for being able to implement authentication over Telefunc, I'm not sure the benefit outweighs bloating Telefunc. Comment and arguments welcome.

brillout commented 8 months ago

Let's track progress on documentation at https://github.com/brillout/telefunc/issues/104.