Search by

naf / oauth-server

floknapp

Run your application as an OAuth2 authorization server and protect its APIs.

Package info

github.com/nafphp/oauth-server

Type:naf-plugin

pkg:composer/naf/oauth-server

Statistics

Installs: 41

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.2 2026-09-13 19:57 UTC

This package is auto-updated.

Last update: 2026-09-13 20:55:29 UTC


README

NAF

NAF OAuth Server Plugin

← Back to NAF

naf/oauth-server

Be the place people sign in with — an OAuth2 authorization server and OpenID Connect provider, on the accounts you already have.

token()->requireScope('posts.write');

That is the whole of what an API endpoint has to say. The authorization, the consent, the tokens and their revocation are already wired.

🧩 Part of the official NAF plugin collection. Install it when other applications should be able to act on behalf of your users.

Documentation

Being the provider →

Everything about this package — what it does, how it is configured and what it needs — lives in the NAF documentation. Not sure which packages you need? Start here.

Install

composer require naf/oauth-server

License

MIT. Part of NAF.