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.

REST using OAuth2

Featured Replies

I've been doing alot of research and about 6 hours of solid browsing and now I'm admitting defeat.

I currently have the client simply submitting hashed user details to a custom php api responsible for user authentication as well as database queries.

 

I was wondering if it's plausible to setup InvisionCommunity to act as an OAuth2 server which can serve member details via REST to a Native Desktop application where users will login using OAuth2(my site) to retrieve their user details.

Has anyone managed to get this working, if so can you throw us a few pointers both the available IPS docs and what's publically available aren't cutting it.

 

Is it even worth using OAuth2 as i'm not wanting 3rd party logins? OR is there a more secure alternative method to do this?

Yes, using the REST API with OAuth 2 authentication is the best way to do this. 

Our documentation assumes you are familiar with the basic concepts OAuth before you begin. A good resource is OAuth 2 Simplified.

First decide how you want users to authenticate:

  • By opening a webpage, logging in, and granting access (like you do for Facebook login, etc) - this is the recommended way as it's the most secure, but maybe a bit more difficult. See the "Web Server Apps" section of the OAuth 2 Simplified site.
  • By entering their username/email + password. See the "Other Grant Types" section of the OAuth 2 Simplified site.

You'll create an OAuth Client in AdminCP → System → REST & OAuth → OAuth Clients.

If you're having trouble, let us know how far you've got and what you need help with.

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.