KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Implementing OAuth2 in 4D
PRODUCT: 4D | VERSION: 18 R6 | PLATFORM: Mac & Win
Published On: June 21, 2021


OAuth 2.0 is a protocol that relies on using an external server to handle user authentication. This industry standard protocol can be extremely useful in certain cases such as sending an email from 4D via Gmail using Google authentication servers instead of having users enter their credentials and temporarily storing their password in a 4D variable. In addition, passwords are never passed from the 4D app to the 3rd party authentication server for security reasons. The purpose of this tech note is to provide a general overview of OAuth 2.0, describe its process, and demo how to implement the protocol in 18R6 or newer.

Download Complete Tech Note: Tech Note Document