Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.64 KB

start-prerequisites.md

File metadata and controls

30 lines (22 loc) · 1.64 KB

What do you need to know before installing the Yii2-Oauth2-Server

Although this package aims to be as self-explanatory as possible, some prior knowledge is required.

Oauth2 (and OpenID Connect)

There are a lot of terminology specific Oauth 2.0 and OpenID Connect like "grant types", "clients", "scopes" and "claims". It is strongly recommended that you get familiar with Oauth 2.0 (and OpenID Connect if applicable) before continuing the installation and setup.

Good places to start are:

Especially the concept of "scopes" is often misunderstood:

Scopes only come into play in delegation scenarios, and always limit what an app can do on behalf of a user: a scope cannot allow an application to do more than what the user can do.

More information On The Nature of OAuth2’s Scopes

Yii2

Since this package is aimed at Yii2, knowledge about Yii2 usage is required. For example how to run migrations and what the User Component and Identity Class are.