diff --git a/Project.toml b/Project.toml index 78dd3ce..b985802 100644 --- a/Project.toml +++ b/Project.toml @@ -4,7 +4,7 @@ keywords = ["openidconnect", "openid-connect", "openid", "openidc", "julia", "id authors = ["Tanmay Mohapatra "] license = "MIT" desc = "OpenID Connect for Julia" -version = "0.1.4" +version = "0.1.5" [deps] Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" diff --git a/src/OpenIDConnect.jl b/src/OpenIDConnect.jl index 1f6a54f..000d9c2 100644 --- a/src/OpenIDConnect.jl +++ b/src/OpenIDConnect.jl @@ -134,7 +134,7 @@ function flow_request_authorization_code(ctx::OIDCCtx; nonce=nothing, display=no (login_hint === nothing) || (query["login_hint"] = String(login_hint)) (acr_values === nothing) || (query["acr_values"] = String(acr_values)) - uri = HTTP.merge(HTTP.URIs.URI(authorization_endpoint(ctx)); query=query) + uri = HTTP.URIs.URI(HTTP.URIs.URI(authorization_endpoint(ctx)); query=query) return string(uri) end