From 7a8ffe5febdb09afb25628be4b3486d00fde8d45 Mon Sep 17 00:00:00 2001 From: Michael Bui <25263378+MaikuB@users.noreply.github.com> Date: Sat, 11 Jul 2020 11:22:58 +1000 Subject: [PATCH] [flutter_appauth] add link to auth0 blog and mention that redirect scheme on Android should be all in lowercase (#129) * add link to auth0 blog and mention that redirect scheme on Android should be all in lowercase * update cirrus script * Revert "update cirrus script" This reverts commit ff1c0d3d06db88a6fc8f2a18dd700ba7b091bb4c. --- flutter_appauth/CHANGELOG.md | 4 ++++ flutter_appauth/README.md | 4 ++++ flutter_appauth/pubspec.yaml | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/flutter_appauth/CHANGELOG.md b/flutter_appauth/CHANGELOG.md index 5d81badb..7b47954a 100644 --- a/flutter_appauth/CHANGELOG.md +++ b/flutter_appauth/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.9.2+1 + +* Updated readme to add a link to Auth0 blog post and mention that the value assigned to `appAuthRedirectScheme` within the Android application's `build.gradle` file should be all in lowercase. + ## 0.9.2 * [iOS] Fixes release build issue about including a non-modular header that came about from release 0.9.1+1. If you experienced issues with 0.9.1+1 (in my experience only occurs if your iOS app uses Swift), please update to 0.9.2 diff --git a/flutter_appauth/README.md b/flutter_appauth/README.md index 6256f438..f6531952 100644 --- a/flutter_appauth/README.md +++ b/flutter_appauth/README.md @@ -5,6 +5,8 @@ A Flutter bridge for AppAuth (https://appauth.io) used authenticating and authorizing users. Note that AppAuth also supports the PKCE extension that is required some providers so this plugin should work with them. +If you're using Auth0, there is a detailed post on the Auth0 blog on how you can use this plugin with Auth0 that you can check out by opening [this link](https://auth0.com/blog/get-started-with-flutter-authentication/). + **IMPORTANT NOTES**: - This plugin requires apps to be using AndroidX. The Flutter tooling supports creating apps with AndroidX support but requires passing the `androidx` flag. Details on AndroidX compatibility and migration can be found [here](https://flutter.dev/docs/development/packages-and-plugins/androidx-compatibility) - If Chrome Custom Tabs are not working in your Android app, check to make sure that you have the latest version of this plugin, Android Studio, Gradle distribution and Android Gradle plugin for your app. There was previously a known [issue](https://issuetracker.google.com/issues/119183822) with the Android tooling with AndroidX that should now be resolved since Android Studio 3.4 has been released @@ -102,6 +104,8 @@ android { } ``` +Please ensure that value of `` is all in lowercase as there've been reports from the community who had issues with redirects if there were any capital letters. + ## iOS setup Go to the `Info.plist` for your iOS app to specify the custom scheme so that there should be a section in it that look similar to the following but replace `` with the desired value diff --git a/flutter_appauth/pubspec.yaml b/flutter_appauth/pubspec.yaml index a05a3fd0..1a493af0 100644 --- a/flutter_appauth/pubspec.yaml +++ b/flutter_appauth/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_appauth description: This plugin provides an abstraction around the Android and iOS AppAuth SDKs so it can be used to communicate with OAuth 2.0 and OpenID Connect providers -version: 0.9.2 +version: 0.9.2+1 homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth environment: