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"
)


And I get the user's ID like this:
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?
Was this page helpful?