diff --git a/OAuth2.md b/OAuth2.md index 01cbba2..dd67331 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -1,9 +1,8 @@ # 1. Authorization Request (User Initiates Login) -A user clicks on the **Login with Google** button on the the app `xorismesiti.gr`. - -The app request permission to access certain Google APIs (like the user's email, profile, etc.). +1. A user clicks on the **Login with Google** button on the the app `xorismesiti.gr`. +2. The app request permission to access certain Google APIs (like the user's email, profile, etc.). ```sh GET https://accounts.google.com/o/oauth2/v2/auth? @@ -22,11 +21,9 @@ GET https://accounts.google.com/o/oauth2/v2/auth? # 2. User Login and Consent -- The user is redirected to Google's login page. - -- If they're not already logged in, they will be prompted to enter their Google credentials. - -- After successful login, the user will be shown a consent screen where they can grant or deny permission for your app to access their Google account (e.g., email and profile information). +1. The user is redirected to Google's login page. +2. If they're not already logged in, they will be prompted to enter their Google credentials. +3. After successful login, the user will be shown a consent screen where they can grant or deny permission for your app to access their Google account (e.g., email and profile information). **User Action**: The user clicks "Allow" to grant access.