We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4356c commit 4a055e8Copy full SHA for 4a055e8
crates/bitwarden-uniffi/swift/iOS/App/ContentView.swift
@@ -160,7 +160,10 @@ struct ContentView: View {
160
let (loginDataJson, _) = try await http.data(
161
for: request(
162
method: "POST", url: IDENTITY_URL + "connect/token",
163
- fn: {
+ fn: { r in
164
+ r.setValue(
165
+ "application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
166
+
167
var comp = URLComponents()
168
comp.queryItems = [
169
URLQueryItem(name: "scope", value: "api offline_access"),
0 commit comments