Please follow the instructions below to configure OAuth for your application.
Setup OAuth2 config in ACP -> Client communication -> Authentication
page.
Remember to replace http://www.example.com/board
with your Board's URL!
-
Go to Developer Settings and create a "New OAuth App"
-
Setup OAuth2 Redirects:
Homepage URL
https://www.example.com/board/
Authorization callback URL
https://www.example.com/board/ucp.php
- Copy and save the
Client ID
andClient Secret
-
Go to Developer Portal and create a "New application"
-
Setup OAuth2 Redirects: If you don't configure the url with all the parameters you will get this error: "Invalid OAuth2 redirect_uri"
https://www.example.com/board/ucp.php?mode=login&login=external&oauth_service=discord
https://www.example.com/board/ucp.php?mode=login_link&login_link_oauth_service=discord
https://www.example.com/board/ucp.php?i=ucp_auth_link&mode=auth_link&link=1&oauth_service=discord
- Copy and save the
Client ID
andClient Secret
-
Go to the Azure Portal, first click on Azure Active Directory in the left panel and then on App Registrations.
Tick the "Accounts in any organizational directory and personal Microsoft accounts" checkbox.
-
Setup OAuth2 Redirects:
https://www.example.com/board/ucp.php
-
First click on the link "Certificates & secrets" on the left and then on the
New client secret
button. Complete the form by choosing the maximum validity period.Then you have to copy the Value; this will be your Client Secret, and the Client ID can be read from the general information.
-
Go to the Reddit apps and click on the are you a developer? and press "create an app..."" button.
-
Setup OAuth2 Redirects: Reddit only support one redirect. So we add only the main one.
https://www.example.com/board/ucp.php?mode=login&login=external&oauth_service=reddit
- Copy and save the
Client ID
(web app) andClient Secret
(secret)
-
Go to the applications manager and press "Create New Application" button.
-
Setup OAuth2 Redirects:
https://www.example.com/board/ucp.php
- Copy and save the
Client ID
andClient Secret