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

How to set API Key and API Secret to clients? #26

Open
weierophinney opened this issue Dec 31, 2019 · 2 comments
Open

How to set API Key and API Secret to clients? #26

weierophinney opened this issue Dec 31, 2019 · 2 comments

Comments

@weierophinney
Copy link
Contributor

I want to use Apigility to create an API that several clients will consume. What I need to do is something like Facebook does: people can create apps that connects to my API, and I can see what apps are connected.

Also I would like to be able to limit services for some apps. Something like app A can online view statuses, App B can view and post and edit statuses, App C can only edit statuses for examples.

Is that possible with apigility? Where can I find documentation for the API Keys and Secret?

In other words I want application based authorization instead of user based authorization that Oauth2 does.


Originally posted by @backstageel at zfcampus/zf-apigility#165

@weierophinney
Copy link
Contributor Author

I have the same question


Originally posted by @strausmann at zfcampus/zf-apigility#165 (comment)

@weierophinney
Copy link
Contributor Author

There is a client_credentials grant type in OAuth2. If you're asking about scopes I think my api-skeletons/zf-oauth2-doctrine supports them best.


Originally posted by @TomHAnderson at zfcampus/zf-apigility#165 (comment)

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

1 participant