Merge pull request #18 from ukr01/feature/SSO-Entropy-Fix
Adds 8 chars to state in call to custom auth provider instead of 6
This commit is contained in:
commit
409851a64c
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ const LoginView = () => {
|
||||||
Navigate('/forgot-password')
|
Navigate('/forgot-password')
|
||||||
}
|
}
|
||||||
const generateRandomState = () => {
|
const generateRandomState = () => {
|
||||||
const randomState = Math.random().toString(36).substring(7)
|
const randomState = Math.random().toString(32).substring(5)
|
||||||
localStorage.setItem('authState', randomState)
|
localStorage.setItem('authState', randomState)
|
||||||
|
|
||||||
return randomState
|
return randomState
|
||||||
|
|
Loading…
Add table
Reference in a new issue