salesagility_SuiteCRM/lib/API/OAuth2
Clemente Raposo ec29dd5d07 Run rector on lib/Api folder 2023-07-18 15:53:08 +01:00
..
Entities Run rector on lib/Api folder 2023-07-18 15:53:08 +01:00
Exception Run rector on lib/Api folder 2023-07-18 15:53:08 +01:00
Middleware Run rector on lib/Api folder 2023-07-18 15:53:08 +01:00
Repositories Run rector on lib/Api folder 2023-07-18 15:53:08 +01:00
.gitignore Modifying SuiteCRM file structure 2017-11-27 14:55:16 +00:00
.htaccess Modifying SuiteCRM file structure 2017-11-27 14:55:16 +00:00
Keys.php Run rector on lib/Api folder 2023-07-18 15:53:08 +01:00
README.md Modifying SuiteCRM file structure 2017-11-27 14:55:16 +00:00

README.md

OAuth 2 Server

Generating public and private keys

To generate the private key run this command on the terminal: openssl genrsa -out private.key 1024

extract the public key from the private key: openssl rsa -in private.key -pubout -out public.key

Generating encryption keys

To generate an encryption key for the AuthorizationServer run the following command in the terminal:

php -r 'echo base64_encode(random_bytes(32)), PHP_EOL;'