You could just force a reload after a user toggles the connect button in again.
Of course it’s not the nicest UX anymore and i guess it doesn’t fits in your plan.
Related Posts:
- How to get a unique nonce for each Ajax request?
- Nonces and Cache
- Is it safe to assume that a nonce may be validated more than once?
- Multiple ajax nonce requests
- Using Nonces for AJAX that only retrieves data
- How to verify nonce from Bulk/Quick Edit in save_post?
- How to add WordPress nonces to ajax request
- Nonces and Ajax request to REST API and verification
- Ajax function returns -1
- wp_verify_nonce always returns false when logged in as admin
- ajax and nonce when JavaScript is in a seperate file
- wp_verify_nonce doesn’t return true on server when it matches the nonce
- AJAX requests broken due to HTTPS for wp-admin
- Nonces, AJAX, script variables & security in WordPress
- Why does WordPress Heartbeat login not refresh the nonces?
- wp-admin AJAX with Fetch API is done without user
- How do I check if AJAX nonces are implemented correctly?
- How to check an ajax nonce in PHP
- Can a wp_nonce created from domain 1 to be verified on domain 2?
- how to send Ajax request in wordpress backend
- Identical wp_rest nonce returned from rest_api
- WP Admin AJAX Security – using POST to include a relative URL
- wp_create_nonce() in REST API makes user->ID zero
- ajax nonce verification failing
- SSO autologin WordPress + Ajax
- Nonce fails on ajax save
- Unable to successfully verify nonce
- Cache plugins and ajax nonce verification
- Nonce doesn’t validate in nopriv call
- Why does check_ajax_referer give a 403 error on https websites?
- WordPress is creating nonce as a logged in user but verifying it incorrectly
- javascript ajax and nonce
- How to check nonce lifetime value of plugins?
- Using nonce when loading posts with AJAX
- Should wordpress nonce be placed in html form or in javascript file
- wp_verify_nonce not working on the mobile device
- How do I mitigate replay attacks when talking about actions that shouldn’t happen twice?
- AJAX form not working, still reloads on submit
- Ajax Security regarding user priviliges and nonces
- How to use nonces for frontend AJAX voting if the page gets cached?
- WordPress wp_localize_script nonce and ajax URL
- How to stop a nonce from being cached in an inline script, or alternatives to regenerate it if expired?
- Google Maps API throws “Uncaught ReferenceError: google is not defined” only when using AJAX
- SSL breaks customizer: page isn’t returned from ajax
- How to implement AJAX post navigation into WordPress?
- wp_ajax_[service] returning 0
- Problems with creating sortable sections in customizer
- help on wp_editor via ajax load [duplicate]
- How to allow to user non logged in WP system upload in media library?
- Buddypress ajax problem after adding new groups sub nav [closed]
- How to check username availability with ajax at registration
- admin-ajax.php slow, how to speed it up?
- How to use several wp_ajax_ functions for different queries?
- I’m getting a 401 while calling the wp-json endpoint via ajax
- Unable to parse JSON response from wp_send_json_success [closed]
- problem with WordPress ajax
- Ajax simple experiment
- How to make tabulator ajax call in wordpress?
- How would you update a frontend form with AJAX
- Are nonces in WP REST API optional by default?
- Radio buttons live refresh in the customizer
- Admin ajax add tag callback
- Stop auto load wp-admin admin-ajax.php
- wp_enqueue_script() doesn’t work with AJAX
- Pagination Using ajax
- Ajax call with javascript in post content (not enqueued)
- What’s the latest I can hook into wp_ajax_%?
- How to use ajax to get multiple outputs?
- Admin-ajax.php 400 error in custom theme
- Hide Load more Ajax button if there is no more users to load or less than the number?
- How to get setting from separate file?
- wp_ajax action is not run when ajax trigger
- Contact form – ajax, wp_mail
- Replace link with form to pass variables to javascript / ajax
- admin-ajax.php calls fail if referrer is sent with 500
- AJAX not working when clicking load more button, when two terms are present in tax_query
- AJAX – get_posts for a specific post type returns empty
- Admin Ajax always return 0
- Ajax call undefined index
- Is there a hook that fires after an ajax call?
- Dynamic Twitter card images
- How to pass value from ajax to php in no conflict mode?
- error_log() not working within wp_ajax_{action} handler
- Is there a way to add ajax hooks without editing the functions.php file?
- Implement AJAX to fetch pages or posts content in a WordPress custom theme
- AJAX is not submitting data to database
- about load more ajax
- Turn a URL into content preview
- Deploy Subcategories with Ajax not working
- Allow guest to update custom post met using ajax
- Simulate a specific page when making AJAX calls
- How to load post_meta for custom post type via Ajax
- WooCommerce AJAX cross domain add to cart
- AJAX function needed (toggle text) [closed]
- Call pre_get_posts inside ajax
- Translating wordpress foreach to ajax
- how to update pagination after ajax call page 2 show 0
- How to add a “Load more” button for the comment section in WordPress?
- How to show custom fields in modal in category page
- How does the security of admin_ajax.php work?