Auth0 lock ionic 4 android localhost CORS issue

Hi,

The auth0 lock 11 version is not working in mobile. I have built the android package for ionic4/angular project. Application is deploying in fine in android emulator or device. Lock page displaying fine but after entering credentials I see error for localhost CORS. If I run localhost from browser it works fine. I dont see any references for ionic 4 cordova auth0 integration. Any help is appreciated.

Failed to load https://dev-auth.zyyah.com/co/authenticate: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost’ is therefore not allowed access. The response had HTTP status code 403.

Hey there!

The most effective way to handle that would be to directly handle that with repo maintainers through GitHub issue. Can you raise one and share the link with us here so we can ping them? Thank you!

Thank you for the response. Here is the link for github issue.

https://github.com/auth0/lock/issues/1820

1 Like

Thanks a lot! I just pinged repo maintainers about that!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.