Skip to content

Proposal: Use Broadcast Channel for Apple Authentication in Android 🍎 #70

@yakovyarmo

Description

@yakovyarmo

I'd like to suggest using Broadcast Channel for handling the client-server communication during Apple Sign-In authentication, rather than the current approach which requires setting up intents and server-side URL binding.

Current Implementation:

The existing solution requires:

  • Setting up intent handling in Android
  • Configuring server-side URL binding
  • Managing the redirect flow between client and server

Proposed Change:

Using Broadcast Channel could offer several benefits:

  • Simpler communication pattern between client and server
  • No need for complex URL binding configuration
  • More straightforward implementation for developers
  • Potentially more reliable message passing

Implementation notes:

  • Broadcast Channel API is well-supported across modern platforms
  • Would reduce the setup complexity for developers integrating the authentication
  • Could make the codebase more maintainable

Happy to hear your thoughts on this approach! 💭

Metadata

Metadata

Assignees

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