Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sso-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Monitor
Service Desk
Analyze
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
id
sso-server
Commits
3c092235
Commit
3c092235
authored
8 months ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Switch JS code to url-safe base64-encoding
parent
c5d52202
No related branches found
No related tags found
No related merge requests found
Pipeline
#73912
passed
8 months ago
Stage: test
Stage: build
Stage: release
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ui/src/sso.js
+1
-1
1 addition, 1 deletion
ui/src/sso.js
with
1 addition
and
1 deletion
ui/src/sso.js
+
1
−
1
View file @
3c092235
...
...
@@ -13,7 +13,7 @@ function bufferEncode(value) {
}
function
bufferDecode
(
value
)
{
return
Uint8Array
.
from
(
atob
(
value
),
c
=>
c
.
charCodeAt
(
0
));
return
Uint8Array
.
from
(
atob
(
value
.
replace
(
/-/g
,
'
+
'
).
replace
(
/_/g
,
'
/
'
)
),
c
=>
c
.
charCodeAt
(
0
));
}
function
verifyAssertion
(
url
,
assertedCredential
)
{
...
...
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