A hard-coded value for https://dashboard.local.wholetale.org/settings was left in the controller for the User Settings view. This obviously will not work in production.
Approach
Replace the hard-coded hostname with config.wholeTaleHost instead. This value is populated from an environment variable using sed when the Ember dashboard is built.
How to Test
Checkout and run this branch locally, rebuild the dashboard
Login to the WholeTale Dashboard
Navigate to the "User Settings" view
Connect an OAuth or DataONE provider
After authenticating/authorizing, you should be redirected back to the dashboard
Problem
A hard-coded value for
https://dashboard.local.wholetale.org/settings
was left in the controller for the User Settings view. This obviously will not work in production.Approach
Replace the hard-coded hostname with
config.wholeTaleHost
instead. This value is populated from an environment variable usingsed
when the Ember dashboard is built.How to Test