PublicAPI icon indicating copy to clipboard operation
PublicAPI copied to clipboard

User Flow Implementation for Participant IDs

Open GStefanowich opened this issue 3 years ago • 2 comments

Are there any plans for this years DonorDrive campaigns to be able to obtain a Participants ID using some kind of authorization flow?

I'd really like to be able to implement a nice UI/UX flow rather than just asking somebody to input their Participant ID into an input field.

None of the Public API uses any kind of OAuth authorization so an OAuth flow wouldn't be needed, but something similar to it would be much appreciated.

  • Redirect a user from my site to DonorDrive/ExtraLife
  • Show a Confirm/Deny to sharing the ID with my site
  • Redirect back to my site with some kind of token so I can use that to get the Participant ID

Thanks

GStefanowich avatar Jan 08 '21 00:01 GStefanowich

Hi Greg,

We're actually researching different auth schemes that would allow us to provide elevated access to certain API functions. We'll take this use case into consideration. Would a proper OAuth workflow be too cumbersome for your project?

Thanks for your feedback!

timmixell avatar Jan 08 '21 02:01 timmixell

Hey Tim,

Thanks for responding on this, I would love an OAuth flow. I just wasn't expecting elevated API endpoints, so I was hoping for something supplementary.

I would much prefer OAuth; to be able to automatically grab Participant IDs.

At this point, it'd be more cumbersome to add in a text input and do data validation. Anything I'm integrated with now goes through the OAuth flow.

Thanks!

GStefanowich avatar Jan 08 '21 02:01 GStefanowich