KEYCLOAK-6700 Financial API Read and Write API Security Profile : state
hash value (s_hash) to protect state parameter
This commit is contained in:
parent
e72756d01a
commit
5b1e65c23e
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ public class OIDCLoginProtocol implements LoginProtocol {
|
|||
|
||||
// Financial API - Part 2: Read and Write API Security Profile
|
||||
// http://openid.net/specs/openid-financial-api-part-2.html#authorization-server
|
||||
if (state != null)
|
||||
if (state != null && !state.isEmpty())
|
||||
responseBuilder.generateStateHash(state);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue