Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
oauth-play
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ASM
oauth-play
Commits
accbc01b
Commit
accbc01b
authored
Nov 20, 2017
by
Andreas Åkre Solberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update react views with id-s on input fields and authenticate button
parent
3c6a3f2e
Pipeline
#4763
passed with stages
in 7 minutes and 20 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
package-lock.json
package-lock.json
+14
-14
src/components/ServerConfigInput.jsx
src/components/ServerConfigInput.jsx
+5
-5
No files found.
package-lock.json
View file @
accbc01b
...
...
@@ -3391,14 +3391,6 @@
}
}
},
"string_decoder"
:
{
"version"
:
"1.0.1"
,
"bundled"
:
true
,
"dev"
:
true
,
"requires"
:
{
"safe-buffer"
:
"5.0.1"
}
},
"string-width"
:
{
"version"
:
"1.0.2"
,
"bundled"
:
true
,
...
...
@@ -3409,6 +3401,14 @@
"strip-ansi"
:
"3.0.1"
}
},
"string_decoder"
:
{
"version"
:
"1.0.1"
,
"bundled"
:
true
,
"dev"
:
true
,
"requires"
:
{
"safe-buffer"
:
"5.0.1"
}
},
"stringstream"
:
{
"version"
:
"0.0.5"
,
"bundled"
:
true
,
...
...
@@ -6744,12 +6744,6 @@
"integrity"
:
"sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM="
,
"dev"
:
true
},
"string_decoder"
:
{
"version"
:
"0.10.31"
,
"resolved"
:
"https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
,
"integrity"
:
"sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
,
"dev"
:
true
},
"string-width"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz"
,
...
...
@@ -6761,6 +6755,12 @@
"strip-ansi"
:
"3.0.1"
}
},
"string_decoder"
:
{
"version"
:
"0.10.31"
,
"resolved"
:
"https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
,
"integrity"
:
"sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
,
"dev"
:
true
},
"strip-ansi"
:
{
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz"
,
...
...
src/components/ServerConfigInput.jsx
View file @
accbc01b
...
...
@@ -94,22 +94,22 @@ class Component extends PureComponent {
<
form
>
<
h4
>
OAuth Authorization endpoint
</
h4
>
<
FormGroup
>
<
FormControl
type
=
"text"
value
=
{
authorizationEndpoint
}
onChange
=
{
this
.
updateFieldHandler
.
bind
(
this
)(
"
authorization_endpoint
"
)
}
/>
<
FormControl
id
=
"inputAuthorization"
type
=
"text"
value
=
{
authorizationEndpoint
}
onChange
=
{
this
.
updateFieldHandler
.
bind
(
this
)(
"
authorization_endpoint
"
)
}
/>
</
FormGroup
>
<
h4
>
OAuth Token endpoint
</
h4
>
<
FormGroup
>
<
FormControl
type
=
"text"
value
=
{
tokenEndpoint
}
onChange
=
{
this
.
updateFieldHandler
.
bind
(
this
)(
"
token_endpoint
"
)
}
/>
<
FormControl
id
=
"inputToken"
type
=
"text"
value
=
{
tokenEndpoint
}
onChange
=
{
this
.
updateFieldHandler
.
bind
(
this
)(
"
token_endpoint
"
)
}
/>
</
FormGroup
>
<
h4
>
Userinfo Endpoint
</
h4
>
<
FormGroup
>
<
FormControl
type
=
"text"
value
=
{
userinfoEndpoint
}
onChange
=
{
this
.
updateFieldHandler
.
bind
(
this
)(
"
userinfo_endpoint
"
)
}
/>
<
FormControl
id
=
"inputUserinfo"
type
=
"text"
value
=
{
userinfoEndpoint
}
onChange
=
{
this
.
updateFieldHandler
.
bind
(
this
)(
"
userinfo_endpoint
"
)
}
/>
</
FormGroup
>
<
h4
>
Client ID
</
h4
>
<
FormGroup
>
<
FormControl
type
=
"text"
bsSize
=
"large"
value
=
{
clientId
}
onChange
=
{
this
.
updateFieldHandler
.
bind
(
this
)(
"
client_id
"
)
}
/>
<
FormControl
id
=
"inputClientid"
type
=
"text"
bsSize
=
"large"
value
=
{
clientId
}
onChange
=
{
this
.
updateFieldHandler
.
bind
(
this
)(
"
client_id
"
)
}
/>
</
FormGroup
>
{
/*
...
...
@@ -136,7 +136,7 @@ class Component extends PureComponent {
<
p
><
code
>
{
this
.
state
.
redirectURL
}
</
code
></
p
>
<
div
>
<
Button
onClick
=
{
this
.
authenticateStart
.
bind
(
this
)
}
bsStyle
=
"primary"
>
<
Button
id
=
"btnAuthenticate"
onClick
=
{
this
.
authenticateStart
.
bind
(
this
)
}
bsStyle
=
"primary"
>
<
FontAwesome
name
=
'sign-in'
/>
Authenticate
</
Button
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment