Releases: Ekwav/UF_OAUTH2-SERVER
Releases · Ekwav/UF_OAUTH2-SERVER
Fixed issue with installation
0.0.2 updated to Userfrosting 4.1
You can now use composer to install this sprinkle:
Edit UserFrosting app/sprinkles.json
file and add the following to the require
list : "ekwav/uf_oauth2_server": "0.0.*"
. Add api
to the base
list. Your sprinkles.json
should look like this:
{
"require": {
"ekwav/uf_oauth2_server": "0.0.*"
},
"base": [
"core",
"account",
"admin",
"Api"
]
}
- Run
composer update
to download the sprinkle. - Then you have to create a public and private key, we need them in order to encrypt the tokens.
Navigate toapp/sprinkles/Api/src/OAuth2
open the terminal and runopenssl genrsa -out private.key 1024
you can also replace 1024 with 2048 to generate a stronger key
Then you have to extract the public key from the private key withopenssl rsa -in private.key -pubout -out public.key
. More information on this here - Open the terminal in your root Userfrosting directory and run
php bakery bake
wait untill it finishes and closes the terminal.
You can now createClients
aka Applications. - Open
YourDomain/apps
and continue there.