Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank screen for a moment just before opening the auth screen(Web View). #97

Open
prabhunath111 opened this issue Aug 23, 2023 · 4 comments

Comments

@prabhunath111
Copy link

No description provided.

@adrian-moisa
Copy link

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?

@rbellens
Copy link
Contributor

I don't have enough context to help you with this. Please provide more info.

@prabhunath111
Copy link
Author

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.

@rbellens
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants