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

Model Org-to-member relationships in the OIDC Provider (Not for MVP) #191

Open aviars opened 5 years ago

aviars commented 5 years ago

This means that Membership in an Organization will become part of the OIDC token and our profile.

The smh_app will receive this information as part of the id_tokenin a similary way this is done for OrgAgents.

smh_app and other applications may use a Membership API to add/remove people as members.

aviars commented 5 years ago

I have added the claim in the ID provider, but we will still need a way to write the membership to the Identity provider. Here is what the claim looks like within the id_token payload.

Screen Shot 2019-09-03 at 4 28 03 PM