When using my Apple ID, how can I sign out from within an app?

I have successfully managed to log into an app using the Apple Authentication functionality.

I am now trying to log out, and the only way I have found is through the Settings → Apple ID → Password & Security → Apps Using Your Apple ID.

I would be very surprised if there is no other way to do this from within the application, as it would make more sense. Most common users don't even know they can do this from within their settings.


Unfortunately, Apple does not have a sign out function available to use for the "Sign in with Apple". Currently, the user must go into the Settings application and revoke permission.