-
Notifications
You must be signed in to change notification settings - Fork 393
Open
Description
This is similar to this issue on nonce (#452),
I extended the class to be able to set custom state (and nonce) to be passed to adb2c, but this gets overwritten in requestAuthorization() method. We can update code to generate only state when it is empty. Be glad to issue a PR if you prefer.
$state = $this->setState($this->generateRandString()); |
$state = $this->getState();
if (empty($state)) {
$state = $this->setState($this->generateRandString());
}
Metadata
Metadata
Assignees
Labels
No labels