Rollback openid connect to use code and nonce

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
Gregoire Parant 2021-11-09 00:08:01 +01:00
parent 4c028bfcb3
commit 89baafba2f
2 changed files with 17 additions and 9 deletions

View file

@ -165,6 +165,10 @@ class LocalUserStore {
verifyState(value: string): boolean {
const oldValue = localStorage.getItem(state);
if (!oldValue) {
localStorage.setItem(state, value);
return true;
}
return oldValue === value;
}
getState(): string | null {