Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Base lexicale BaLex
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lex gaMe
Base lexicale BaLex
Commits
8088dc2d
Commit
8088dc2d
authored
2 years ago
by
Pierre Fleutot
Browse files
Options
Downloads
Patches
Plain Diff
Paramétrage clé publique, privée, et passphrase OAuth2 passe dans .env
parent
ab660c2a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/packages/league_oauth2_server.yaml
+4
-4
4 additions, 4 deletions
config/packages/league_oauth2_server.yaml
with
4 additions
and
4 deletions
config/packages/league_oauth2_server.yaml
+
4
−
4
View file @
8088dc2d
...
@@ -3,14 +3,14 @@ league_oauth2_server:
...
@@ -3,14 +3,14 @@ league_oauth2_server:
# Full path to the private key file.
# Full path to the private key file.
# How to generate a private key: https://oauth2.thephpleague.com/installation/#generating-public-and-private-keys
# How to generate a private key: https://oauth2.thephpleague.com/installation/#generating-public-and-private-keys
private_key
:
'
%
kernel.project_dir%/var/keys/private.key
'
private_key
:
'
%
env(resolve:OAUTH_PRIVATE_KEY)%
'
# Passphrase of the private key, if any
# Passphrase of the private key, if any
private_key_passphrase
:
null
private_key_passphrase
:
'
%env(OAUTH_PASSPHRASE)%'
# The plain string or the ascii safe string used to create a Defuse\Crypto\Key to be used as an encryption key.
# The plain string or the ascii safe string used to create a Defuse\Crypto\Key to be used as an encryption key.
# How to generate an encryption key: https://oauth2.thephpleague.com/installation/#string-password
# How to generate an encryption key: https://oauth2.thephpleague.com/installation/#string-password
encryption_key
:
jecomprendspas
encryption_key
:
'
%env(OAUTH_ENCRYPTION_KEY)%'
# The type of value of 'encryption_key'
# The type of value of 'encryption_key'
encryption_key_type
:
plain
# One of "plain"; "defuse"
encryption_key_type
:
plain
# One of "plain"; "defuse"
...
@@ -49,7 +49,7 @@ league_oauth2_server:
...
@@ -49,7 +49,7 @@ league_oauth2_server:
# Full path to the public key file
# Full path to the public key file
# How to generate a public key: https://oauth2.thephpleague.com/installation/#generating-public-and-private-keys
# How to generate a public key: https://oauth2.thephpleague.com/installation/#generating-public-and-private-keys
public_key
:
'
%
kernel.project_dir%/var/keys/public.key
'
public_key
:
'
%
env(resolve:OAUTH_PUBLIC_KEY)%
'
scopes
:
scopes
:
# Scopes that you wish to utilize in your application.
# Scopes that you wish to utilize in your application.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment