Jump to content
View in the app

A better way to browse. Learn more.

Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MediaWiki, OAuth2 and JSON path.

Featured Replies

Hi I am using the Cloud service for the IPB but the issue is that I don't know where I can find the user json file and where I can find the url for the user json path. 

I am trying to allow IPB login to sync with MediaWiki

The MediaWiki and OAuth2 Extension is asking me for the following part but obviously I think I am doing something wrong.

https://www.mediawiki.org/wiki/Extension:OAuth2_Client

The bolded below is what needs to be fixed.

If anyone is willing to help out, please let me know.

Quote

#OAuth2
$wgOAuth2Client['client']['id']     = '------'; // The client ID assigned to you by the provider
$wgOAuth2Client['client']['secret'] = '-------'; // The client secret assigned to you by the provider

$wgOAuth2Client['configuration']['authorize_endpoint']     = '------'; // Authorization URL
$wgOAuth2Client['configuration']['access_token_endpoint']  = '--------'; // Token URL
$wgOAuth2Client['configuration']['api_endpoint']           = ''; // URL to fetch user JSON
$wgOAuth2Client['configuration']['redirect_uri']           = ''; // URL for OAuth2 server to redirect to

$wgOAuth2Client['configuration']['username'] = 'username'; // JSON path to username
$wgOAuth2Client['configuration']['email'] = 'email'; // JSON path to email

 

 

  • Community Expert

This blog entry has a guide of setting up an OAuth server that you may find interesting. (about halfway down, Using Invision Community as an OAuth Server )

as noted in the blog entry, the /core/me endpoint is the endpoint that returns the user account information (refer to the Rest API documentation in your AdminCP for the correct URL and the returned parameters).

 

The redirect_uri is something unique to your client, so we can't tell you what that should be.

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.