© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
6 replies
mjamore

JWT Signing Keys in Swift?

I saw this video from Jon Meyers about using JWT Signing Keys to significantly improve the authentication speed of a web application.

I was wondering if this can be applied to Swift iOS applications as well?

My Swift application follows this Supabase tutorial and my code looks like this:

let client = SupabaseClient(
  supabaseURL: URL(string: "https://abc.supabase.co")!,
  supabaseKey: "abc"
)
let client = SupabaseClient(
  supabaseURL: URL(string: "https://abc.supabase.co")!,
  supabaseKey: "abc"
)


And I get the user's ID like this:
for await state in client.auth.authStateChanges {
    session.userID = state.session?.user.id
}
for await state in client.auth.authStateChanges {
    session.userID = state.session?.user.id
}


Are there any changes that can be made to Swift applications to take advantage of the new JWT Signing Keys feature to help improve authentication time?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

JWT Signing Keys
SupabaseSSupabase / help-and-questions
7mo ago
supabase new jwt signing keys
SupabaseSSupabase / help-and-questions
7mo ago
JWT signing keys in self hosted instance ?
SupabaseSSupabase / help-and-questions
7mo ago
Generating JWT with new Signing Keys
SupabaseSSupabase / help-and-questions
5mo ago