Skip to content

Security_csrf_violation errors when bundled with Capacitorjs #3128

Answered by optimix
OliverGeneser asked this question in Q&A
Discussion options

You must be logged in to vote

Using the Http Capacitor Plugin fixes the Origin issue when running the app in the emulator or on the phone.

--dev flag and DEV_DISABLE_API_FLOW_ENFORCEMENT are useful for testing purposes when developing using a browser (without emulator), but never use this in production.

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@OliverGeneser
Comment options

@jonas-jonas
Comment options

@OliverGeneser
Comment options

@jonas-jonas
Comment options

@OliverGeneser
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants