rafiki icon indicating copy to clipboard operation
rafiki copied to clipboard

Open Payments Auth Redirect Website

Open sabineschaller opened this issue 1 year ago • 9 comments

Context

When a client requests a grant to create an outgoing payment, it needs to provide a url for the user to be redirected to after s/he has consented to the grant being issued on the consent screen. That redirect url is appended with query parameters, including the interaction ref, that the client needs to continue the grant request and get a token issued.

When we go through the flow using postman, we don't have a page to redirect to. Currently we use example.com and just copy the interact ref out of the url in the url bar.

What we would like is a static page that parses the interact ref out of the url and displays it with a copy button. It should be included in rafiki/localenv/redirect-page.

Mockup (it can obviously be prettier than this) image

Todos

  • [ ] create a static page that parses the url and displays the interaction ref
  • [ ] add copy button for interaction ref

sabineschaller avatar Oct 13 '23 13:10 sabineschaller

Hi, Can you please assign me this task? I would like to give a try. Thanks

nooras avatar Oct 15 '23 16:10 nooras

It's yours @nooras, have fun! 🙂

sabineschaller avatar Oct 16 '23 07:10 sabineschaller

Hey team, @sabineschaller @nooras Can I take this one if this issue is still open?

Shubham2503 avatar Oct 24 '23 14:10 Shubham2503

HI @Shubham2503 I am not able to start local server so you can take it. @sabineschaller I missed this assigned task notification due to that it got delayed. Un-assigning myself. Let me know if there is any UI task even after Hacktoberfest End. I will contribute in this open source project happily :) Thanks

nooras avatar Oct 24 '23 15:10 nooras

@Shubham2503 Are you taking this issue?

ashutuptiwari avatar Oct 24 '23 17:10 ashutuptiwari

Yes @ashutuptiwari I've started working on this

Shubham2503 avatar Oct 24 '23 17:10 Shubham2503

Cool

ashutuptiwari avatar Oct 24 '23 17:10 ashutuptiwari

@Shubham2503 @ashutuptiwari , is this still being worked on?

sabineschaller avatar Jan 09 '24 10:01 sabineschaller

Now with continuation polling this screen doesn't need the interact_ref finish url, but potentially we can convert this issue into "prettifying" the ASE interaction page.

mkurapov avatar Mar 04 '24 13:03 mkurapov

Closing in favour of #2624

mkurapov avatar May 07 '24 19:05 mkurapov