Tornium / tornium

A website and Discord bot to assist with the playing of Torn City developed with love <3
https://tornium.com
11 stars 5 forks source link

Add option to use tokens for API #153

Closed dssecret closed 1 year ago

dssecret commented 1 year ago

So that API keys aren't leaked on the HTML and to partially minimize CSRF attacks. Could likely use same functions as the User Settings endpoint but with the token in cookies or somewhere else instead of query param.

dssecret commented 1 year ago

Basic testing complete. Closing!