OAuth 2 authentication for Snap applications