Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

[5] Refactor Pages to consume authentication information differently. #136

Open
bleafman opened this issue Aug 14, 2019 · 1 comment
Open
Labels
front end Bugs/Implementation on front end components Tech Debt/Refactoring

Comments

@bleafman
Copy link
Member

Right now, auth information is passed from App to Pages.

React 16.8 updated the Context API and testing suites do not have an easy way to pass context functionality. It's currently an open ticket with Enzyme (enzymejs/enzyme#1553) but has been in the works for a while.

Options are to either:

  • Wait until Enzyme completes support
  • Refactor to Auth0 Lock for embedded login/logout
  • Server Side render restricted pages

Depending on how the product roadmap evolves/when Enyzme resolves the issue we can pursue one of the above.

@bleafman bleafman added Tech Debt/Refactoring front end Bugs/Implementation on front end components labels Aug 14, 2019
@bleafman
Copy link
Member Author

Depends on #146

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
front end Bugs/Implementation on front end components Tech Debt/Refactoring
Projects
None yet
Development

No branches or pull requests

1 participant