Most of your users will probably disappear when they close the application, but sometimes they will want to cleanly log out. The AuthN client library will take care of cleaning up its sessions (the the access token and refresh token). Your application may want to do more.
- Create a link that users can click.
- Invoke AuthN's logout.
- Clean up anything else.
- Redirect to logged-out page.