Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
league_oauth2_server:
authorization_server:
private_key: '%env(resolve:OAUTH_PRIVATE_KEY)%'
private_key_passphrase: '%env(resolve:OAUTH_PASSPHRASE)%'
encryption_key: '%env(resolve:OAUTH_ENCRYPTION_KEY)%'
resource_server:
public_key: '%env(resolve:OAUTH_PUBLIC_KEY)%'
scopes:
available: ['email']
default: ['email']
persistence:
doctrine: null

when@test:
league_oauth2_server:
persistence:
in_memory: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
league_oauth2_server:
resource: '@LeagueOAuth2ServerBundle/config/routes.php'
type: php
15 changes: 15 additions & 0 deletions league/oauth2-server-bundle/0.11/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"bundles": {
"League\\Bundle\\OAuth2ServerBundle\\LeagueOAuth2ServerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"OAUTH_PRIVATE_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem",
"OAUTH_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem",
"OAUTH_PASSPHRASE": "%generate(secret)%",
"OAUTH_ENCRYPTION_KEY": "%generate(secret)%"
},
"aliases": ["oauth2-server", "oauth-server"]
}
8 changes: 8 additions & 0 deletions league/oauth2-server-bundle/0.11/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
1. <bg=magenta;fg=white> Provide a key pair </>
* Generate a private/public key pair by running</> <comment>php bin/console league:oauth2-server:generate-keypair</>

2. <bg=magenta;fg=white> Update the database schema </>
* Update your database schema so that bundle entities can be managed by Doctrine

3. <bg=magenta;fg=white> Read the docs </>
* Read the documentation at <comment>https://github.com/thephpleague/oauth2-server-bundle/blob/master/docs/index.md</>
Loading