Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
IA2
RAP
Commits
c2fa6ce7
Commit
c2fa6ce7
authored
4 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
bugfix
parent
833dcac7
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
classes/model/CliOAuth2Client.php
+1
-1
1 addition, 1 deletion
classes/model/CliOAuth2Client.php
config-example.yaml
+1
-1
1 addition, 1 deletion
config-example.yaml
with
2 additions
and
2 deletions
classes/model/CliOAuth2Client.php
+
1
−
1
View file @
c2fa6ce7
...
@@ -15,7 +15,7 @@ class CliOAuth2Client {
...
@@ -15,7 +15,7 @@ class CliOAuth2Client {
public
function
__construct
(
object
$config
)
{
public
function
__construct
(
object
$config
)
{
$this
->
id
=
$config
->
id
;
$this
->
id
=
$config
->
id
;
$this
->
secretHash
=
$config
->
secret
;
$this
->
secretHash
=
$config
->
secret
;
$this
->
scope
=
$config
->
scope
;
$this
->
scope
=
explode
(
" "
,
$config
->
scope
)
;
$this
->
audience
=
$config
->
audience
;
$this
->
audience
=
$config
->
audience
;
}
}
...
...
This diff is collapsed.
Click to expand it.
config-example.yaml
+
1
−
1
View file @
c2fa6ce7
...
@@ -74,4 +74,4 @@ cliClients:
...
@@ -74,4 +74,4 @@ cliClients:
-
id
:
gms_cli
-
id
:
gms_cli
secret
:
2a97516c354b68848cdbd8f54a226a0a55b21ed138e207ad6c5cbb9c00aa5aea
secret
:
2a97516c354b68848cdbd8f54a226a0a55b21ed138e207ad6c5cbb9c00aa5aea
scope
:
"
read:gms
write:gms
read:rap"
scope
:
"
read:gms
write:gms
read:rap"
audience
:
gms
audience
:
[
gms
]
\ No newline at end of file
\ No newline at end of file
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