Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a Golang SDK for the Authorization Extension API? #199

Open
hsluoyz opened this issue Feb 11, 2018 · 1 comment
Open

Is there a Golang SDK for the Authorization Extension API? #199

hsluoyz opened this issue Feb 11, 2018 · 1 comment

Comments

@hsluoyz
Copy link

hsluoyz commented Feb 11, 2018

Th Authorization Extension API is provided as RESTful calls. But RESTful is still very primitive and requires much code to wrap the interface.

I'm developing a Golang service that interacts with the authorization extension, to get group membership, etc. Is there a ready-to-go SDK for Golang (as well as other languages)? Thanks.

@markns
Copy link

markns commented Feb 16, 2018

@hsluoyz If you run npm serve:dev you can access the swagger definition at http://$yourproxy.ngrok.io/swagger.json. Then use https://github.com/go-swagger/go-swagger to generate your own client.

It would of course be nice if Auth0 published the swagger documents themselves, but they don't seem to want to : https://community.auth0.com/questions/8877/generate-go-client-for-management-api-using-swagge https://community.auth0.com/questions/5352/openapi-specification-for-auth0-apis

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

No branches or pull requests

2 participants