Closed ivantrave closed 1 year ago
Hi @ivantrave, thanks for raising this. @poovamraj could you please take a look?
Oh Wish I had read this before trying Seems like $25/month for nothing is not enough to provide even a very primitive web example
Thanks for raising @ivantrave - you confirmed in your issue that you were able to reproduce this in the Flutter sample app but it's working ok for me with no changes other than Auth0 tenant configuration (see video below running in an Android emulator). This sample uses webAuthentication().login()
as you are doing (source).
https://github.com/auth0/auth0-flutter/assets/766403/a70b898b-4591-4550-b219-f504398ae45d
If you're able to provide a small reproducible sample that demonstrates the issue, I can take a look.
Thanks for the feedback on the manifest placeholders, I'll get that change made where appropriate.
Closing due to inactivity. Please feel free to ping if you'd prefer to reopen.
I have the same problem. I checked out the example, put my clientID and the domain in the .env file. then flutter run -d linux
. There is no configuration as for Android or iOS. Is there something I need to do?
Checklist
Description
I am currently using Flutter with the following versions:
Flutter 3.7.12 • channel stable • https://github.com/flutter/flutter.git Framework • revision 4d9e56e694 (4 weeks ago) • 2023-04-17 21:47:46 -0400 Engine • revision 1a65d409c7 Tools • Dart 2.19.6 • DevTools 2.20.1
And using the package auth0_flutter: ^1.1.0.
I followed the installation and configured both, iOS and Android to be able to login/logout users in my app.
For iOS it works like a charm but it does not work in Android (tested in emulators)
I am getting the following error after calling the login function:
I configured the auth0 allowed callback/logout URLs (notice I used https schema es suggested in the docs for Android) as following:
And updated the android/app/src/build.gradle file with the suggested configuration:
What am I missing here?
I would appreciate any help.
Many thanks.
PS: Official package documentation (https://pub.dev/packages/auth0_flutter) states that the manifestPlaceholders should be defined as following:
But that generates the following error:
since it is overwriting instead of just appending the auth0 properties. That is why I used the += instead
PS 2: Downgrading to version 1.0.2 works for both, Android and iOS
Reproduction
auth0_flutter version
1.1.0
Flutter version
3.7.12
Platform
Android
Platform version(s)
minSdk 21