Fix bad scopes in Cesium ion authorize URL.

This commit is contained in:
Kevin Ring 2025-02-03 17:04:03 +11:00
parent 772324108c
commit 75d7c9b061
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ std::string createAuthorizationErrorHtml(
authorizeUrl =
Uri::addQuery(authorizeUrl, "client_id", std::to_string(clientID));
authorizeUrl =
Uri::addQuery(authorizeUrl, "scope", joinToString(scopes, "%20"));
Uri::addQuery(authorizeUrl, "scope", joinToString(scopes, " "));
authorizeUrl = Uri::addQuery(authorizeUrl, "redirect_uri", redirectUrl);
authorizeUrl = Uri::addQuery(authorizeUrl, "state", state);
authorizeUrl = Uri::addQuery(authorizeUrl, "code_challenge_method", "S256");