Open Aaron-Ritter opened 6 days ago
The issuer in your tenant does not contain http:// https:// which is required because we are using the Discovery spec from OpenID Connect.
The documentation is not being specific around this, only the quickstart troubleshooting part is mentioning
Double-check the Issuer in the Tenant to make sure it matches the URL that FusionAuth is running at.
We have to update the documentation to clearly specify the requirement for the issuer to contain http:// https:// as required by the Discovery spec from OpenID Connect.
And we need not clarify if we can handle the error in a better way.
The http://fusionauth/<tenantId>/.well-known/openid-configuration
contains the issuer used in the tenant.
{
...
"issuer" : "acme",
...
}
We could check at fetchConfiguration or a step later at getConfiguration the issuer and trow a configuration error.
Description
I'm following the FusionAuth quickstart guide for Android (Kotlin) here: https://fusionauth.io/docs/quickstarts/quickstart-android-kotlin-native While integrating the code, I'm encountering a NullPointerException when attempting to retrieve the authorization state after handling the redirect intent.
The error message indicates a null reference for the authState object:
Has anyone encountered this issue before? Any suggestions on how to prevent it? Thanks in advance for your help!
Affects versions
v0.1.7
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
It should not trow an error.
Platform
android emulator with android 14
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.