openid_client
openid_client copied to clipboard
Blank screen for a moment just before opening the auth screen(Web View).
Could it be that you have configured your IAM to use the authorisation flow while openid_client tries to use the implicit flow? I got this in my keycloak logs "Client is not allowed to initiate browser login with given response_type. Implicit flow is disabled for the client." I got the same behavior. When tapping on login we got redirected to keycloak but then we got redirected back again to the app with no credentials (Id token) being delivered. Did you figure out anything on your side?
I don't have enough context to help you with this. Please provide more info.
at the time of rendering auth screen we need to call this => Issuer issuer = await Issuer.discover(uri); until this method is not completing we are seeing black screen in release mode of the application then it's rendering auth screen.
You are giving me very little context, maybe show some code.
However, I don't think your issue is related to this package. If I need to guess, I would say you are awaiting some future before calling runApp
. Painting only starts after calling runApp
, so clearly, when the await takes some time, the screen will be empty for some time. (I know, I also do that in the example, but that is an example, not a production app).