Skip to content

Commit

Permalink
Merge pull request #199 from nedap/fix-pkce-verifier
Browse files Browse the repository at this point in the history
Fixed encoding of CodeVerifier
  • Loading branch information
bwegh authored Jul 3, 2018
2 parents 09061ad + f0a344b commit e626cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oidcc_session.erl
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@ apply_s256(_, CodeVerifier) ->
}.

gen_code_verifier() ->
base64:encode(crypto:strong_rand_bytes(64)).
base64url:encode(crypto:strong_rand_bytes(64)).

0 comments on commit e626cec

Please sign in to comment.