Aloha,

I’m hoping to connect to an API that uses OAuth 
(https://apidocs.sky.blackbaud.com/docs/authorization/implicit-flow/). I think 
I understand how it works but wanted some tips on how to implement it in 4D 
Client/Server. Mainly I wonder how to do the redirect_uri part.

My concept of how this would work:
Create a webarea
Request authorization from within that area
The user clicks “accept”
Have the redirect_uri be the https://my4dwebserver.com/OauthresultTo4D/
Capture the token on the On Web Connection method
Store the token, expiration etc in a table so it’s accessible from the client 
that started this


Does this seem like the best way to do this?




--
Sannyasin Siddhanathaswami

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to