Update OAuth2.md
This commit is contained in:
parent
ba4d311b0b
commit
a8a897fdc9
@ -32,10 +32,9 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
|
||||
|
||||
### Redirect the user to Google's OAuth Authorization Endpoint
|
||||
|
||||
1. Action: The frontend provides a "Login with Google" button.
|
||||
2. When the user clicks it, the frontend constructs a URL to Google's OAuth 2.0 authorization endpoint and redirects the user there.
|
||||
3. After this redirection, the user will log in to Google and grant permissions (if they haven’t already).
|
||||
4. Google will redirect the user back to your specified redirect_uri with an authorization code.
|
||||
1. The use clicks a "Login with Google" button with a URL to Google's OAuth 2.0 authorization endpoint and redirects the user there.
|
||||
2. After this redirection, the user will log in to Google and grant permissions (if they haven’t already).
|
||||
3. Google will redirect the user back to your specified redirect_uri with an authorization code.
|
||||
|
||||
```sh
|
||||
GET https://accounts.google.com/o/oauth2/v2/auth?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user