I'm expecting the discovery phase to complete successfully.
Versions:
oidc: ^0.7.0
oidc_core: ^0.7.0
oidc_default_store: ^0.2.0+9
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on Ubuntu 22.04.4 LTS 6.5.0-41-generic, locale en_AU.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.3)
[!] Android Studio (version unknown)
✗ Unable to determine Android Studio version.
✗ android-studio-dir = /home/bsutton/Android/Sdk
✗ Unable to find bundled Java version.
[✓] VS Code (version 1.90.2)
[✓] Connected device (2 available)
[✓] Network resources
! Doctor found issues in 2 categories.
Description
I'm using oicd to do auth against the xero saas (on linux)
I'm getting an error when oidc tries to access the discovery document.
I have the debugger set to catch 'All Exceptions' so I see several different exceptions before the final one.
I've listed them in the order the occur:
The
Exception 1
Exception 2:
Exception 3:
Exception 4: This error occurs when getPRoviderMetaData is called.
Exception 5: Failed to handle the response from endpoint: https://identity.xero.com/.well-known/openid-configuration/.well-known/openid-configuration
Request (GET https://identity.xero.com/.well-known/openid-configuration/.well-known/openid-configuration)
Expected Behavior
I'm expecting the discovery phase to complete successfully.