oauth2-client icon indicating copy to clipboard operation
oauth2-client copied to clipboard

Add FAQ questions to website

Open BonBonSlick opened this issue 5 years ago • 3 comments

  • Tell me pelase what the difference between server and client?
  • I see for client I have to install additional provider per auth type and server?
  • What and when should be used I am confused a little?
  • I dont see here server / client https://oauth.net/2/ and most of packages from here https://oauth.net/code/ work one way, they dont have client / server packages, but only one.
  • Client is for third providers and server for my own api?
  • Most of packages are outdated for OAuth, other devs develop like https://github.com/adoy/PHP-OAuth2/blob/master/src/OAuth2/Client.php?

I want protect my api with Oauth and provide authentication for third providers like Facebook etc through my API.

BonBonSlick avatar Nov 20 '18 12:11 BonBonSlick

Well, https://oauth.net/code/ has 2 sections, one for server libraries and one for client libraries. These are the 2 libraries of phpleague (one for each category).

The server and client libraries are related to the 2 sides of the OAuth2 protocol:

  • you use the server library when you implement an API protected using OAuth
  • you use a client library when you consume an API protected using OAuth

In your use case, you probably need both (as you are the client-side of the protocol for the Facebook auth)

stof avatar Jan 24 '19 10:01 stof

imagine server as if you are Google or GitHub and want to make your server as an OAuth service provider client implementations use different providers to connect to those services

mxdpeep avatar Jan 31 '19 08:01 mxdpeep

I've changed the label on this to docs and updated the title to "Add FAQ questions to website."

This is a great task for someone to help contribute to this project by setting up an FAQ page for the website and working on the content that should go on that page, starting with some of the questions asked here. 😄

ramsey avatar Oct 28 '20 20:10 ramsey