Skip to content

Commit d6cbf7f

Browse files
authored
docs: remove an extraneous whitespace (#24949)
1 parent abccb86 commit d6cbf7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/doc/development/oauth2-provider.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ For public clients, a redirect URI of a loopback IP address such as `http://127.
9494
1. Redirect to user to the authorization endpoint in order to get their consent for accessing the resources:
9595

9696
```curl
97-
https://[YOUR-GITEA-URL]/login/oauth/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI& response_type=code&state=STATE
97+
https://[YOUR-GITEA-URL]/login/oauth/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI&response_type=code&state=STATE
9898
```
9999

100100
The `CLIENT_ID` can be obtained by registering an application in the settings. The `STATE` is a random string that will be send back to your application after the user authorizes. The `state` parameter is optional but should be used to prevent CSRF attacks.

0 commit comments

Comments
 (0)