Trigger logout by clicking button
See original GitHub issueHi there, Is there a way to trigger logout when the button is click…
<button v-on:click="logout">Logout</button>
<v-facebook-login
app-id="0000000000455"
@sdk-init="handleSdkInit"
@connect="handleConnect"
@logout="handleLogout"
@click="handleClick"
>
</v-facebook-login>
As you can see, I have a logout button and I need to logout also the facebook when the button logout is click. Thanks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
PHP Logout on button click - html - Stack Overflow
I made a login function using PHP, I have a variable called '$loggedIn' in a php class. How would I set this to...
Read more >how i show login page after clicking on logout button widget?
i have one mashup which is my login page and i want to open that login page after clicking on logout button widget....
Read more >Force Logout on Back Button - MSDN - Microsoft
How can I force a user to logout when he press the browser back button ? ... You can capture the back button...
Read more >Clicking the browser back button after logout - OutSystems
a workaround you can do is to redirect the user to a 'pre-logout' screen (remain there for a few seconds) before you send...
Read more >When User clicks the back button force to logout like internet ...
locked. When User clicks the back button force to logout like internet banking appln. RRS feed · Archived Forums 461-480. > Web Forms...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just tried this and it works without any errors.
See this: https://stackoverflow.com/a/6525818/4106263
Decided to have a quick go. It wasn’t possible with
ref
, so I passed thescope
object to thesdk-init
event. Update to1.5.0
and see updated docs for usage example. 👍