Jump to content

Getting OAuth2 running on our site...


Recommended Posts


OK so I want to use our Invision community to login to another site.

And I believe using Oauth2 / REST API is the way to do it. 

Problem - our site does not currently "use" (have?) Oauth2. 

I realise that it is likely a "it depends" kind of answer, but generally should it be pretty simple to set up so we can get going?  Or is it generally complex and a bit of a pain?

Any pointers would be very welcome!

Thank you

Link to comment
Share on other sites

If you use a ready-made OAuth library (and I would strongly encourage you to do so, to ensure the security implications are covered) then it shouldn't be too difficult to set up an OAuth service on your website. There are services, such as Auth0, that do this for you too if you'd prefer to pay for a provider. Note that you will of course need to adjust your login handling for your main website to also use the OAuth service.

Link to comment
Share on other sites

Thank you very much.

Could I ask, is the below service the same kind of thing as the Auth0 service you mention ---- or a different beast with a different function?


If we set that up on the main website, could we then link up with the Forums to get them talking to each other as I want?
(Unfortunately I'm struggling understanding the logic behind it all)

Link to comment
Share on other sites


Thank you.

bfarber, do you have experience with that Auth0?  I am still trying to get my head around what it is and how it works. I would appreciate a bit more elaboration.

If I signed up for that service, could we easily set that up on our website (how easy?), and then once that is done link it up to our Invision Community?
So that if users registered on our Invision Community, they could then go and login using the same credentials on our main website?  Is that a correct understanding?  (That is what we want).

Sorry for my embarrassingly low level of understanding on the concepts!  Any explanation really appreciated to help me grasp how it all works.

Link to comment
Share on other sites

I have integrated with Auth0 for a few of our Enterprise clients, so I am familiar with it.

It's like having a separate service that just handles logins. Each application (your front end website, and your community in this case) would redirect the user to Auth0's pages to log in, and they would redirect the user back. You would then just need to provide the integration to handle the redirection back logging the user in.

Link to comment
Share on other sites


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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...