Skip to content

Listen to auth events #9

Open
Open
@lexum0

Description

@lexum0

I'm trying to implement auth events. Is there some implementation of it?

The test cases have a line commented out
//let _: AsyncStream<(event: AuthChangeEvent, session: Session?)> = ac.authStateChanges
in https://github.com/skiptools/skip-supabase/blob/main/Tests/SkipSupabaseTests/SkipSupabaseTests.swift

The Supabase documentation has a couple of ways to handle it. Which one would be the preferred way to handle auth events with Skip?

Reference

https://supabase.com/docs/reference/swift/auth-onauthstatechange

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions