tursodatabase / libsql-client-rs

libSQL Rust client library can be used to communicate with sqld natively over HTTP protocol with native Rust interface.
MIT License
75 stars 29 forks source link

Remove authToken from url before using the url #19

Closed haaawk closed 1 year ago

haaawk commented 1 year ago

In hrana we accept an url with authToken query parameter. It's not safe to keep secrets like that in the url because urls are sometimes logged by different layers. It's better to remove the authToken from the url after obtaining it.