File tree 4 files changed +43
-0
lines changed
league/oauth2-server-bundle/0.11
4 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ league_oauth2_server :
2
+ authorization_server :
3
+ private_key : ' %env(resolve:OAUTH_PRIVATE_KEY)%'
4
+ private_key_passphrase : ' %env(resolve:OAUTH_PASSPHRASE)%'
5
+ encryption_key : ' %env(resolve:OAUTH_ENCRYPTION_KEY)%'
6
+ resource_server :
7
+ public_key : ' %env(resolve:OAUTH_PUBLIC_KEY)%'
8
+ scopes :
9
+ available : ['email']
10
+ default : ['email']
11
+ persistence :
12
+ doctrine : null
13
+
14
+ when@test :
15
+ league_oauth2_server :
16
+ persistence :
17
+ in_memory : null
Original file line number Diff line number Diff line change
1
+ league_oauth2_server :
2
+ resource : ' @LeagueOAuth2ServerBundle/config/routes.php'
3
+ type : php
Original file line number Diff line number Diff line change
1
+ {
2
+ "bundles" : {
3
+ "League\\ Bundle\\ OAuth2ServerBundle\\ LeagueOAuth2ServerBundle" : [" all" ]
4
+ },
5
+ "copy-from-recipe" : {
6
+ "config/" : " %CONFIG_DIR%/"
7
+ },
8
+ "env" : {
9
+ "OAUTH_PRIVATE_KEY" : " %kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem" ,
10
+ "OAUTH_PUBLIC_KEY" : " %kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem" ,
11
+ "OAUTH_PASSPHRASE" : " %generate(secret)%" ,
12
+ "OAUTH_ENCRYPTION_KEY" : " %generate(secret)%"
13
+ },
14
+ "aliases" : [" oauth2-server" , " oauth-server" ]
15
+ }
Original file line number Diff line number Diff line change
1
+ 1. <bg=magenta;fg=white> Provide a key pair </>
2
+ * Generate a private/public key pair by running</> <comment>php bin/console league:oauth2-server:generate-keypair</>
3
+
4
+ 2. <bg=magenta;fg=white> Update the database schema </>
5
+ * Update your database schema so that bundle entities can be managed by Doctrine
6
+
7
+ 3. <bg=magenta;fg=white> Read the docs </>
8
+ * Read the documentation at <comment>https://github.com/thephpleague/oauth2-server-bundle/blob/master/docs/index.md</>
You can’t perform that action at this time.
0 commit comments