usnistgov / oar-pdr

The NIST Open Access to Research (OAR) Public Data Repository (PDR) system software
11 stars 10 forks source link

Feature/odd 761 customization #100

Closed chuanlin2018 closed 4 years ago

chuanlin2018 commented 4 years ago

This check in contains following changes:

  1. Removed all hardcoded urls in auth service and customization service. Added customization api to environment.ts that the app will read when running in localhost outside docker.
  2. When login first return 401 or 0, the app will redirect to sts url. The app will log/display other errors. I used alert() popup to display error code '200' or '401' or '0' because all console message will be clean up once window reloads. This is just for debugging purpose and will be removed once login works.
RayPlante commented 4 years ago

This branch has been deprecated by mdata-layout-new. A new PR will be created.