TransparentHealth / smh_app

Share My Health App: An application for Community Members and Community Based Organizations
Apache License 2.0
2 stars 3 forks source link

Member profile page doesn't show subject URL until member logs in. #244

Closed sharrisoncaktus closed 4 years ago

sharrisoncaktus commented 5 years ago

To reproduce:

  1. As an org agent, create a new member.
  2. Log back in as the org agent.
  3. Browse to the member profile. No subject URL!

This is because the subject is being pulled from the member's VMI SocialAuth id_token, which hasn't yet been created / updated since the member was created.

How to handle this will be addressed by the local member profile editing interface: It will call the VMI API, store values, receive response data, and then will need to store that locally for use in this session — the changes in VMI will not come down via the id_token until the member logs in again, so we have to store the data locally for now. We will either edit the VMI id_token, or go back to having a local copy of all of the relevant files in the UserProfile.

aviars commented 4 years ago

Closing this in favor of #259.