Advertisement:

Author Topic: OAuth SMF authentication for other websites?  (Read 7112 times)

Offline Jakobud

  • Newbie
  • *
  • Posts: 2
OAuth SMF authentication for other websites?
« on: April 08, 2015, 04:50:46 PM »
I can't tell if this is a feature that SMF has or not. Lets say you have a website myforum.com that uses SMF and has a bunch of users.

Does SMF have any sort of OAuth authentication scheme setup where a 3rd party website coolwebsite.com could use OAuth and have users login to coolwebsite.com using their myforum.com credentials? Or a way for users oncoolwebsite.com to link their account to their account on myforum.com?

This is similar to what Google/Facebook/Twitter/etc offers, where 3rd party websites can request users to login using their Google/Facebook/Twitter/etc logins.

Does SMF have functionality like this or are there plugins for it or anything like that?

Offline Illori

  • Lead Support Specialist
  • SMF Legend
  • *
  • Posts: 52,934
Re: OAuth SMF authentication for other websites?
« Reply #1 on: April 08, 2015, 06:42:56 PM »
2.0 has openID, this has been removed in 2.1 though.

if you want to log in using any of those websites you need a mod to do so. it will not be part of SMF core.

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,759
  • Gender: Male
Re: OAuth SMF authentication for other websites?
« Reply #2 on: April 08, 2015, 07:14:05 PM »
It is, however, possible to use SMF to serve that authentication to your other website with SMF's REST API
http://www.simplemachines.org/community/index.php?topic=458832.0
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Jakobud

  • Newbie
  • *
  • Posts: 2
Re: OAuth SMF authentication for other websites?
« Reply #3 on: April 15, 2015, 01:55:11 PM »
It is, however, possible to use SMF to serve that authentication to your other website with SMF's REST API
http://www.simplemachines.org/community/index.php?topic=458832.0

So one could make a REST request using a username/password combination to the forum website's API and get a true/false return?

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,759
  • Gender: Male
Re: OAuth SMF authentication for other websites?
« Reply #4 on: April 15, 2015, 02:13:41 PM »
I'm not totally sure about the details but it has to be something like that, yes ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair