Clarify backend environment variables and routes #72
Labels
enhancement
New feature or request
In epic 8
Issue is a child in the indicated parent epic
JIRA
Post MVP
Issues cut from the MVP scope
This is a tech debt/technical ticket.
#4 enabled users to login and logout of the TTA Smart Hub. In this ticket a new environment variable was added,
TTA_SMART_HUB_URI
. My plan was for this variable to eventually replaceREDIRECT_URI_HOST
since they are the same value in most cases. The only place they are not the same is in local development. I thought we were going to be able to update the HSES callback tolocalhost:3000...
but it has to staylocalhost:8080...
, which throws a wrench in my plan.#4 also prepended api routes with
/api
. It would be nice if we can update our HSES callbacks to include/api
in their paths to simplify the backend code.We need to take some time to think about the environment variables and how we can change the HSES callback. Some options to start thinking about:
REDIRECT_URI_HOST
environment variableREDIRECT_URI_HOST
andTTA_SMART_HUB_URI
variablesQuestions
Can we update the HSES callback adding
api
(and potentiallyv1
) to the path? I.E.http://localhost:8080/api/v1/oauth2-client/login/oauth2/code/
Acceptance Criteria
TODO
s that deal withREDIRECT_URI_HOST
are removed from the backendThe text was updated successfully, but these errors were encountered: