Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Implement OAuth 2.0 client #17

Open
residuum opened this issue Feb 5, 2013 · 6 comments
Open

Implement OAuth 2.0 client #17

residuum opened this issue Feb 5, 2013 · 6 comments
Milestone

Comments

@residuum
Copy link
Owner

residuum commented Feb 5, 2013

[oauth] only does OAuth 1.1. As version 2.0 of the standard is available, and is used by several large service providers (Facebook, Google+), [oauth] should either support version 2.0 or a different object is needed.

@residuum
Copy link
Owner Author

residuum commented Feb 5, 2013

liboauth does not support OAuth 2.0, and the website http://oauth.net/2/ does not list a C library for the new standard.

@residuum residuum added the low label Oct 19, 2015
@60-hz
Copy link

60-hz commented Dec 23, 2017

Hi, just want to know if this is possible now? I have found this https://github.com/slugonamission/OAuth2
thanks!

@residuum
Copy link
Owner Author

This library does not have a license file, so it is not usable in Free Software right now. I have opened an issue about that: slugonamission/OAuth2#2

@residuum residuum added this to the 3.0.0 milestone Nov 9, 2022
@60-hz
Copy link

60-hz commented Jan 5, 2023

@residuum Here is other list of potential open sources libraries for OAuth 2.0
Would be so great to be able to add a OAuth 2.0 client to PuRestJson so many new api could be used :)

a12n-server
Casdoor
Glewlwyd
Omejdn
Keycloak
OAuth.io
ORY Hydra
SimpleLogin
SSQ signon
ZITADEL

@residuum
Copy link
Owner Author

residuum commented Jan 6, 2023

@60-hz PuREST JSON is written in C, most of the libraries you have posted are not, I have no idea about most of the languages or how to compile a Pd external from e.g. TypeScript, as TypeScript is mostly compiled to JavaScript, and the only non-browser I know of is node.js, which in turn is mostly used for server side programming.

The only C library is a library for setting up a server, but PuREST JSON needs a client implementation, and the only client library that I have found is https://github.com/babelouest/iddawc.

Unfortunately for now, I am unable to get it to compile with MXE, which is a requirement for generating Windows objects. This also means a rewrite of the JSON functions, as iddawc uses jansson for JSON data, but currently PuREST JSON uses json-c. Multiple libraries for the same thing is not good, but yes, I am looking into it, but have no time right now.

@60-hz
Copy link

60-hz commented Jan 8, 2023

most of the libraries you have posted are not

Oh yes, sorry, I didn't check all of them, only the second one which was mainly in c...
I understand it's a lot of rewrite, maybe another external is a better choice then. I am sorry I cannot help with MXE...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants