Merge pull request #3760 from sldab/state-param-no-slash

KEYCLOAK-4222 Remove slash from state parameter
This commit is contained in:
Stian Thorgersen 2017-01-20 09:33:20 +01:00 committed by GitHub
commit 1373708dea

View file

@ -196,10 +196,8 @@ public class OAuthRequestAuthenticator {
return sslRedirectPort;
}
protected static final AtomicLong counter = new AtomicLong();
protected String getStateCode() {
return counter.getAndIncrement() + "/" + AdapterUtils.generateId();
return AdapterUtils.generateId();
}
protected AuthChallenge loginRedirect() {