Skip to content

Commit 848f685

Browse files
authored
Add support for PKCE flow (#123)
* Add PKCE flow * Fix tests * Make some types internal and remove CodingKeys implementations * Add PKCE to SupabaseClient * Add debug log to GoTrueClient * Use LockIsolated on GoTrueClient * Support PKCE when signing in with redirect URL
1 parent 4a512cd commit 848f685

File tree

18 files changed

+484
-284
lines changed

18 files changed

+484
-284
lines changed

Examples/ProductSample/Application/AppView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ struct AppView: View {
108108
func notAuthenticatedView(model: AuthViewModel) -> some View {
109109
AuthView(model: model)
110110
}
111-
}
111+
}

Examples/ProductSample/Features/Auth/AuthView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ struct AuthView: View {
6060
Task { await model.onOpenURL(url) }
6161
}
6262
}
63-
}
63+
}

Examples/ProductSample/Features/ProductDetails/ProductDetailsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ struct ProductDetailsView: View {
5757
}
5858
}
5959
}
60-
}
60+
}

Examples/ProductSample/Features/ProductList/ProductListView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ struct ProductListView: View {
4747
await model.loadProducts()
4848
}
4949
}
50-
}
50+
}

0 commit comments

Comments
 (0)