In the past, you had to give a tool your password so it could, for example, read your email. That was risky: the tool had full access, and the only way to revoke it was to change your password. OAuth solves this with a detour through the provider.
How an OAuth connection works
- You click “Connect” in an application and are redirected to the provider, such as Microsoft or Google.
- You sign in there and see which permissions (scopes) the application requests, for example “read email” or “edit calendar”.
- If you agree, the application receives an access token instead of your password.
- The application uses this token to call the provider’s API. When it expires, it is renewed with a refresh token.
You can revoke access at any time with the provider or in the application.
What to check
Read the requested permissions. Some providers only offer broad scopes, so an app may receive more rights than it needs for a single task. In companies, admins often decide which applications may connect via OAuth. OAuth handles authorization, not signing in to the company account itself.
Example
An employee connects his AI assistant to Outlook. He signs in with Microsoft, confirms the requested permissions, and the assistant can now search emails and create drafts without knowing his password.