Skip to content

Commit dbc799d

Browse files
authored
Update youtube.mdx
Updated URI section to include formatting from other guides.
1 parent d1cf88c commit dbc799d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pages/providers/youtube.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ Create the OAuth client ID. Select "Web application" as the application type and
3333

3434
Under "Authorized redirect URIs", insert your OAuth2 Redirect URI.
3535

36-
The OAuth2 Redirect URI is the location where the provider will redirect to after trying to login. This needs to set to your Postiz FRONTEND_URL + /integrations/social/ + youtube.
36+
### Add a Redirect URI
3737

38-
eg: If you are running on a container, and your Postiz URL is: https://postiz.example.com, then your OAuth2 Redirect URI is https://postiz.example.com/integrations/social/youtube
39-
eg: If you are running on localhost, and your Postiz URL is http://localhost:4200, then your OAuth2 Redirect URI is http://localhost:4200/integrations/social/youtube
38+
<OAuth2Redirect provider = "youtube" />
39+
40+
The redirect URI is the URL that YouTube will redirect to after you have logged in. Assuming you are running Postiz on `postiz.example.com`, this would be: `https://postiz.example.com/integrations/social/youtube`. Alternatively if you are running on `localhost:4200`, this would be `http://localhost:4200/integrations/social/youtube`. You only really need one of these, depending on where you are running Postiz.
41+
42+
You can find this in the **OAuth2** section of the Discord Developer Portal.
4043

4144
### Step 7 Activate YouTubes API
4245
Go to Activated APIs and Services. Then click on Activate APIs and Services. Search YouTube Data API v3 and activate the API by clicking it and clicking Activate.

0 commit comments

Comments
 (0)