Skip to content

Conversation

@dewabisma
Copy link
Collaborator

@dewabisma dewabisma commented Dec 9, 2025

Summary

Closed previous PR #335 because of wanting to make it more secure by using domain association. After trying many ways and fighting with other package. I come up with a nice fallback instead by using existing package that we use url_launcher. The good news, it works for android even the deep linking wohooo!! The bad news it still fail for the ios but I have a nice website page fallback which I think good enough still. So, to make sure we get the data change I also listen to state change in the associations screen.

Screenshots

  • Oauth in app browser view
IMG_1318
  • Oauth deep link fallback
IMG_1319
  • X associated
IMG_1320

@dewabisma dewabisma requested a review from n13 December 9, 2025 09:43
@dewabisma dewabisma changed the title Change to in app browser and detect state change Oauth: change to in app browser and detect state change Dec 9, 2025
@dewabisma dewabisma changed the title Oauth: change to in app browser and detect state change Oauth: change to in app browser Dec 9, 2025
case AppLifecycleState.detached:
break;

case AppLifecycleState.resumed:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats nice haha

Copy link
Collaborator

@n13 n13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dewabisma dewabisma merged commit c4dc47c into main Dec 9, 2025
1 check passed
@dewabisma dewabisma deleted the feat/better-x-oauth-2 branch December 9, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants