Jump to content

Which is the best way to provide OAuth to my module in order to call some external APIs?

Recommended Posts

I have developed my own module and I need it to make POST and GET request to an external API, under OAuth protocol.

Which one of the following is the best option?

-do all the authorization process during the installation (how ??) and save the access token (on the DB ??)

-create a backoffice page where I ask the website-manager to authorize the plugin to make external calls (but then until he doesn't do that the plugin doesn't make its job)

- something else ?....


Is there some simple plugin I can take as an example?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More