-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate cryptographically secure state token
- Loading branch information
David Christofas
committed
Jan 13, 2021
1 parent
1721b78
commit f230ea7
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Change: generate cryptographically secure state token | ||
|
||
Replaced Math.random with a cryptographically secure way to generate the oidc state token using the javascript crypto api. | ||
|
||
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues | ||
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random | ||
https://github.com/owncloud/ocis/pull/1203 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters