Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp-module-authoauth2
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp-module-authoauth2
Commits
23edf4a7
Commit
23edf4a7
authored
1 year ago
by
Patrick Radtke
Browse files
Options
Downloads
Patches
Plain Diff
comment for why pkce is stored in session instead of state
parent
f2e241ef
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
src/Auth/Source/OAuth2.php
+3
-0
3 additions, 0 deletions
src/Auth/Source/OAuth2.php
with
3 additions
and
0 deletions
src/Auth/Source/OAuth2.php
+
3
−
0
View file @
23edf4a7
...
...
@@ -379,6 +379,9 @@ class OAuth2 extends Source
/**
* support saving the providers PKCE code in the session for later verification.
* We store in the session rather in the $state since the $provider generates
* the pkce after it has been configured with the $state id, which we get after
* saving the $state.
*/
protected
function
saveCodeChallengeFromProvider
(
AbstractProvider
$provider
):
void
{
...
...
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