CassioML / cassio-website

Web page for the cassIO library project
Apache License 2.0
8 stars 8 forks source link

simplified and updated the naming around auth token/AstraCS auth pair #76

Closed hemidactylus closed 1 year ago

hemidactylus commented 1 year ago

This removes storing the literal "token" in any variable and puts it directly in the argument to the auth when creating the Astra session. Previously it was called "CLIENT_ID"-something, which caused much confusion.

Done on both the local-run cqlsession.py and in the colab (through the json snippets in the colabifier).

Also made the token variable name uniform across colab and cqlsession.py: it's called ASTRA_DB_APPLICATION_TOKEN everywhere, in line with the Astra docs/quickstart (for the corresponding "token"/"AstraCS:..." auth pathway) and with the output of astra db create-dotenv... command.

netlify[bot] commented 1 year ago

Deploy Preview for cassioml-prod ready!

Name Link
Latest commit 89d26f721d035eaaac56b3222a5258a765de33a8
Latest deploy log https://app.netlify.com/sites/cassioml-prod/deploys/64dfd681c0ca2000084e73f3
Deploy Preview https://deploy-preview-76--cassioml-prod.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.