mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
[auth] Fix wrong parameter on AuthorizePageServlet (#3154)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ public class AuthorizePageServlet extends AbstractAuthPageServlet {
|
|||||||
|
|
||||||
String baseRedirectUri = params.get("redirect_uri")[0];
|
String baseRedirectUri = params.get("redirect_uri")[0];
|
||||||
String responseType = params.get("response_type")[0];
|
String responseType = params.get("response_type")[0];
|
||||||
String clientId = params.get("redirect_uri")[0];
|
String clientId = params.get("client_id")[0];
|
||||||
String scope = params.get("scope")[0];
|
String scope = params.get("scope")[0];
|
||||||
|
|
||||||
if (!"code".equals(responseType)) {
|
if (!"code".equals(responseType)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user