The issue concerns the OAuth library for nim, where the Authorization Code grant and Implicit grant rely on the `state` parameter to prevent cross-site request forgery (CSRF) attacks. However, when compiled with certain compiler flags, the `state` parameter may not be checked, creating a CSRF vulnerability. This is because the library previously relied on a plain `assert` for checking the `state` parameter, which can be disabled with flags like `-d:danger` or `--assertions:off`. Version 0.11 addresses this by using a regular `if` statement or `doAssert` for the check, ensuring the desired behavior even when assertions are disabled.