Skip to content

Commit

Permalink
Update internal/api/pkce.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
  • Loading branch information
J0 and hf authored Feb 21, 2024
1 parent 46c105d commit f7e8b47
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/api/pkce.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ func getFlowFromChallenge(codeChallenge string) models.FlowType {
func generateFlowStateIfPKCE(flowType models.FlowType, authenticationMethod models.AuthenticationMethod, codeChallengeMethodParam string, codeChallenge string, userID *uuid.UUID) (*models.FlowState, error) {
if !isPKCEFlow(flowType) {
return nil, nil

}
codeChallengeMethod, err := models.MapCodeChallengeMethod(codeChallengeMethodParam)
if err != nil {
Expand Down

0 comments on commit f7e8b47

Please sign in to comment.