Clearing Cached Credentials for OAuth

Justin Whitfield:
The authLogout does not appear to clear cached credentials for oauth. How can I make this work?


Delfs:
To also log out out of oAuth you will need to call thier logout also
you can use this path action

{
    "action": "path",
    "function": "action.options.url = `<https://yourapp.us.auth0.com/v2/logout?client_id=Rt6pStvqNKdmtvgmxJ7f51Aesu8p2wr8&amp;returnTo=https://${window.location.host}>`",
    "options": {
        "sameWindow": true,
        "url": "/"
    }
}

Delfs:
Add this to out logout namedAction script


Justin Whitfield:
Thank you! This is very helpful