tursodatabase / libsql-client-go

Go client API for libSQL
MIT License
166 stars 23 forks source link

Prefer authToken over jwt in the url #25

Closed CodingDoug closed 1 year ago

CodingDoug commented 1 year ago

Could we add support for authToken in the URL as the primary way to configure the token instead of jwt for consistency? (They can both work, but we use authToken pretty much everywhere else throughout the client SDKs to specify the token - the fact that it's a JWT is essentially an implementation detail from the perspective of the developer.)

haaawk commented 1 year ago

Fixed by https://github.com/libsql/libsql-client-go/pull/30