Skip to content

Popup Blocked error on safari browser when calling signIn(redirectUri) function provided by logto/rn sdk.Β #45

@Zain995

Description

@Zain995

Describe the bug

I am using signIn function provided by logto sdk to login in expo project for both web and mobile which is working fine, but when i try to login in a safari browser i get popup blocked error. This happens only in safari browser.

How can i avoid popup blocked issue on safari?

Expected behavior

On login button click logto popup should appear and when user enters credentials the popup should close with user state being set in sdk.

How to reproduce?

Call signIn(redirectUri) function provided by sdk on a safari browser.

Environment

Expo: 52.0.0
react-native: 0.76.5
react: 18.3.1
logto/rn: 0.4.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions