Repository navigation
Add Flutter AppAuth integration sample - #3
Merged
Merged
Conversation
5 of 12 tasks
Signed-off-by: Yasas Ramanayaka <36619815+Yasasr1@users.noreply.github.com>
Yasasr1
force-pushed
the
flutter-appauth-sample
branch
from
October 13, 2026 05:36
60ad28a to
492d589
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Add a Flutter sample app that signs users in to ThunderID with flutter_appauth, the OpenID Connect plugin that wraps AppAuth for iOS and Android. It backs the Flutter AppAuth integration guide in the ThunderID docs.
The sample was first added in the ThunderID repo with the guide, and is moved here as requested in the review: thunder-id/thunderid#5599 (comment)
Approach
This PR adds
samples/integrations/flutter-app-auth, a minimal Flutter app that runs the guide's code end to end on Android and iOS.lib/auth_config.dart--dart-definelib/auth_service.dartlib/main.dartandroid/app/build.gradle.kts,ios/Runner/Info.plistcom.example.appauthredirect scheme--dart-define=THUNDERID_CLIENT_ID=<client-id>(and optionallyTHUNDERID_ISSUER), so no credentials live in the source.flutter_secure_storagestores the refresh token so the session is restored after a restart.package.json, so this sample is not picked up by CI.Related Issues
Related PRs
Checklist
Security checks