Recent

Author Topic: Is there exists an OAuth v2 implementation?  (Read 3288 times)

cpalx

  • Hero Member
  • *****
  • Posts: 753
Is there exists an OAuth v2 implementation?
« on: August 28, 2014, 04:50:51 am »
Hello,

Is there exists an OAuth V2 component/ class ??

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Is there exists an OAuth v2 implementation?
« Reply #1 on: August 28, 2014, 06:23:35 am »
None that I know of, only OAuth 1.0a exists. I haven't read OAuth 2.0 spec myself, but the author of OAuth 1.0a unit claims that there's a little in OAuth 2.0 that can be generalized because it tries to integrate deeper with the app.

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: Is there exists an OAuth v2 implementation?
« Reply #2 on: August 28, 2014, 01:04:23 pm »
Someone on FPC mailing list implemented OAuth 2.0 and also OpenId4FPC. Check this topic for links:
http://lists.freepascal.org/pipermail/fpc-pascal/2014-April/041619.html

jtm_1986

  • Newbie
  • Posts: 1
Re: Is there exists an OAuth v2 implementation?
« Reply #3 on: August 31, 2014, 03:53:57 am »
Someone on FPC mailing list implemented OAuth 2.0 and also OpenId4FPC. Check this topic for links:
http://lists.freepascal.org/pipermail/fpc-pascal/2014-April/041619.html

I'm probably just missing something obvious, but when the thread is followed, it leads to a repository at https://github.com/darekm/openid4fpc.

If I understand correctly, this repository should have code for implementing OpenID (and OAuth 2.0).

However, I am unable to compile the code because of the missing units "komint", "winm", "kom3", "wpr2", "wpDate", "wpString" etc. which are referenced, but not a part of the repository.

Can someone set me on the right path so that I can compile an OAuth 2.0 client in FPC?

Thanks

 

TinyPortal © 2005-2018