ConservationMetrics / guardianconnector-views

A Nuxt.js tool that reads data from a SQL database and renders it on different views (map, gallery, alerts dashboard)
MIT License
3 stars 0 forks source link

Get auth0 working in production runtime #8

Closed rudokemper closed 1 year ago

rudokemper commented 1 year ago

Submitting a PR for this work instead of committing directly for purposes of record-keeping:

Turns out it's not possible to use env vars for auth in production runtime environments, as discussed in this thread: https://github.com/nuxt-community/auth-module/discussions/1597

Hence, I implemented a version of the workaround suggested in there by user mirobertod on May 17, 2021.

IamJeffG commented 1 year ago

Thanks. And don't underestimate the value of in-line code comments as a form of record-keeping. At least, my philosophy is that the closer documentation lives to the source code, the more likely someone is going to find it.