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

Bug: authBrowserOptions doesn't work as expected #42

Open
4 tasks done
MehediH opened this issue Sep 4, 2024 · 0 comments
Open
4 tasks done

Bug: authBrowserOptions doesn't work as expected #42

MehediH opened this issue Sep 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MehediH
Copy link

MehediH commented Sep 4, 2024

Prerequisites

Describe the issue

For both login() and register() the signature suggests:

login(additionalParameters?: LoginAdditionalParameters, authBrowserOptions?: AuthBrowserOptions): Promise<TokenResponse | null>;

we can pass AuthBrowserOptions to customise the look of the browser window that opens.

However, the following doesn't work, and the options are just ignored.

await kindeClient.login({}, { animated: false } );

the above is just a simple example, all the other props in AuthBrowserOptions also seem to be ignored.

Library URL

https://github.com/kinde-oss/kinde-react-native-sdk-0-7x

Library version

1.3.1

Operating system(s)

iOS

Operating system version(s)

n/a

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

@MehediH MehediH added the bug Something isn't working label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant