KEYCLOAK-4222 Remove slash from state parameter

This commit is contained in:
Slawomir Dabek 2017-01-13 18:35:37 +01:00
parent aa78c9eaf5
commit cc788cf44e

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() {