question

maria-nabil avatar image
maria-nabil asked maria-nabil answered

How to logout the employee or the merchant from OAuth ?

When using this Url : https://sandbox.dev.clover.com/dashboard/login?hardRedirect=true&webRedirectUrl=https://sandbox.dev.clover.com/oauth/authorize?client_id={AppID}

This url redirect me to the login page or to the dashboard if the employee is already logged in ( to get the authorization code )

My problem is that sometimes if the merchant is already logged in he redirected me to the dashboard directly , but I need it to redirect me always to the login page ( or to logout ).

How can I logout the merchant in the OAuth if it is possible ?


Thanks in advance .

MerchantOAuthAPI TokenEmployees
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

maria-nabil avatar image
maria-nabil answered

I found the solution , it was to delete the cookies as mentioned in this link :

https://www.c-sharpcorner.com/article/how-to-clear-webview-cookies-in-xamarin-forms-using-dependencyservice/

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community