-
Notifications
You must be signed in to change notification settings - Fork 13
setup UI endpoint to serve the UI #39
Comments
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
@llorllale @talwinder50 https://github.com/trustbloc/edge-agent/blob/master/cmd/user-agent/src/pages/chapi/Login.vue#L83 |
@sudeshrshetty @talwinder50 we need to talk about this then because this flow will change anyhow. In the long run: hub-auth and edge-agent should exchange key material (DIDs) to create a secure authenticated channel. hub-auth can push updates through this channel, and offer services the user may also use In the short run: edge-agent should register key material (DID) in hub-auth. With this, the user does not have to be redirected to hub-auth whenever they need to authenticate to other components (eg. adapters) |
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
@sudeshrshetty @talwinder50 @aholovko as we discussed, here's my proposal in rough form. Please weigh in to see if it looks like it's going in the right direction: Proposal: hub-auth sends bootstrap data to the wallet via CHAPIGoals:
Assumptions:
Flow (1st time login):
Key features:
|
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
@llorllale here are the points I am concerned with.
|
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
closes trustbloc#39 Signed-off-by: talwinder.kaur <[email protected]>
As per the discussion the plan team agreed upon is. User agent on page load will be redirected to Hub-Auth. After successful login, there will be did communication to share the bootstrap data.
|
@talwinder50 @sudeshrshetty @DRK3 Based on today's call: |
PR #37 is adding the UI stuff but not actually serving it.
This is a followup for task #19 : need to redirect the user to the UI endpoint when finished handling the OIDC callback. The redirectURL should contain a handle of some sort that can be used by the UI to fetch the user's bootstrap info and offer it to the wallet via CHAPI.
The text was updated successfully, but these errors were encountered: