From 674f11c68af9584acdffa887fee126fd74bd634e Mon Sep 17 00:00:00 2001 From: Michael Bui <25263378+MaikuB@users.noreply.github.com> Date: Tue, 14 Jul 2020 23:21:03 +1000 Subject: [PATCH] [flutter_appauth] update client id used by example app (#130) * update client id used to connect to demo IdentityServer instance * bump plugin --- flutter_appauth/CHANGELOG.md | 6 +++++- flutter_appauth/example/lib/main.dart | 3 ++- flutter_appauth/pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/flutter_appauth/CHANGELOG.md b/flutter_appauth/CHANGELOG.md index 7b47954a..70a4a72f 100644 --- a/flutter_appauth/CHANGELOG.md +++ b/flutter_appauth/CHANGELOG.md @@ -1,6 +1,10 @@ +## 0.9.2+2 + +* Updated example app to use a new client id that works with the demo IdentityServer instance + ## 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. +* 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 diff --git a/flutter_appauth/example/lib/main.dart b/flutter_appauth/example/lib/main.dart index b6ae3fc8..316b9a9f 100644 --- a/flutter_appauth/example/lib/main.dart +++ b/flutter_appauth/example/lib/main.dart @@ -29,7 +29,8 @@ class _MyAppState extends State { TextEditingController(); String _userInfo = ''; - final String _clientId = 'native.code'; + // For a list of client IDs, go to https://demo.identityserver.io + final String _clientId = 'interactive.public'; final String _redirectUrl = 'io.identityserver.demo:/oauthredirect'; final String _issuer = 'https://demo.identityserver.io'; final String _discoveryUrl = diff --git a/flutter_appauth/pubspec.yaml b/flutter_appauth/pubspec.yaml index 1a493af0..01700884 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+1 +version: 0.9.2+2 homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth environment: