I've recently updated the moodle sgoauth server files to include api calls that we needed for an integration project we are currently doing.  For this integration we also needed authorization tokens to be granted automatically so I added support for specifying autoauthorize in the datamodel.

While testing, I encountered a bug on the elgg consumer code that prevented the cron jobs from deleting stale tokens so I fixed that as well.

Download the updated code.

EDIT:

Here is the link to the post announcing the first release.

posted in ,

Installation process

HI
I am trying to test your plugin with Moodle 2.3.1 and Wordpress 3.4.1

1) Set up in Wordpress
there are 4 fields that need to be filled in, Consumer Key, Secret, OAuth Server Base URL and OAuth Server Name. Where do I get that information in moodle?

2) at the step 3 on how to install the server.

"... At this point the necessary database tables have been setup.

You'll need to create records for your consumers by manually
  inserting into the database.  Some sample sql insert commands are:

  For wordpress:

  mysql> insert into oauth_consumers (name, callbackurl, cancelurl, secret, consumerkey, timecreated, timemodified)
          values ('Wordpress', 'http://my.wordpress.url/wp-load.php?action=sg_oauth&service=logincallback',
                  'http://my.wordpress.url/wp-login.php', 'mysecretstring', 'mywordpressconsumerkey',
                  unix_timestamp(current_timestamp()), unix_timestamp(current_timestamp()));    ....."

It is not clear for me, Please can you explain it.

Thanks in advance

Carlos

by Carlos Kiyan on 07/25/12

updated code

Carlos,

You might want to download the updated code from github instead -- https://github.com/solutiongrove/sg-moodle-oauth  There should be instructions in the readme file.

by Deds Castillo on 07/25/12

help for normal php

I am new to moodle and i am not good on word press and Elgg.Can you help me to implement the oauth with normal php.

by Azeem Sai on 01/20/14

must to use

There is definitely so many great options that go a long with this. You will not disappointed at with the use of it. You will be able to do so much with it. http://drunk17.tumblr.com

by james leroy on 05/12/14

windows 8 upgrade

Thank you updating the moodle sgoauth server files. Moreover, thank you for fixing the bugs in it. Solution grove is doing a great job in the field as a server client technology. Hope you will help like this forever. I have sent a link to the post. <a href="http://www.windows8-upgrade.com">windows 8 upgrade</a>

by vishnu narayanan on 07/11/14

Wonderful illustrated information.

Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject!
http://readmore.me/motog
http://readmore.me/camsh

by Lindur Ginta on 08/11/14

dsfds

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
http://www.replicaorologioit.com

by adsgy kingcd on 08/20/14

Exuviance

I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it. [Exuviance:>>>>> http://www.skin-beauty.com ]

by muneer ahmed on 09/23/14

top mac pc computer repair services jupiter

I showed this quality article to my friends and family members. They were also delighted to read this extremely good quality article. You've satisfied a lot of people and I will be on the lookout for your next article. <a href="http://www.ballardcomputer.com">top mac pc computer repair services jupiter</a>

by muneer ahmed on 09/29/14

Mad ud af huset

A collection of top tweets about the Michael Fiore Text Your Ex Back 2.0 system. Includes PDF reviews, download information, and texting tips and examples. [Mad ud af huset:>>>> http://www.festkokkeriet.dk ]

by muneer ahmed on 10/01/14

gita

http://caramenghilangkanjerawatalananospray.blogspot.com/
http://jerawatlagi.edublogs.org/
http://iammegaarie.tumblr.com/
http://caramenghilangkanbekasjerawatsecaraalami.webs.com/
http://caramenghilangkanjerawatjitu.blogdetik.com/
http://caramenghilangkanjerawatsecaraalami.bravesites.com/
http://caramudahmenghilangkanjerawat.jimdo.com/
http://tipsmenghilangkanjerawatdengancepat.blogspot.com/
http://tipsmenghilangkanjerawatmudah.weebly.com/
https://tipsmenghilangkanjerawatmurah.wordpress.com/
http://tipsmenghilangkanbekasjerawat.blog.com/
http://nanospray2.blog.com
http://nanospraymci2.tumblr.com/
http://nanospraymci2.webs.com/
http://nanospraymci2.weebly.com/
http://nanospray-review.blogspot.com/
http://terapioksigen.edublogs.org/
http://terapiwajah.roon.io/

by gita anindya on 10/01/14

gita

http://beeoshop.blogspot.com/
http://bajubatikonline.weebly.com/
http://bajukoreamurah.roon.io/
http://bajumurahgrosir.blog.com/
http://bajumurahgrosir.webs.com/
http://bajumuslimokee.blogspot.com/
http://bajuonlinekita.wordpress.com/
http://busanamuslimonline.tumblr.com/
http://onlineshopbaju.edublogs.org/
http://tasmurahbeebagshop.blogspot.com/
http://dompetmurahkeren.webs.com
http://grosirtasbaru.wordpress.com/
http://modeltasterbaru.edublogs.org/
http://tasbrandedgue.blogspot.com/
http://tasdandompetmurah.roon.io/
http://tasonlinemurah.weebly.com/
http://tassekolahmurah.blog.com/
http://taswanitaonline.tumblr.com/

by gita anindya on 10/01/14

коносамент

We are really grateful for your blog post. I just want to let you know that I just check out your site and I find it very interesting and informative. Thanks for posting this info. <a href="http://www.germes-trans.com/uslugi/tamozhennoe-oformlenie.html">коносамент</a>

by muneer ahmed on 10/21/14

garage door repair

For you small needs you can take a short term loan named text loan and get quick monetary support <a href="http://www.austintxgaragedoorsolutions.com">garage door repair</a>

by muneer ahmed on 10/25/14

wow

http://kokimganteng.blog.com/
https://www.rebelmouse.com/Resep/
http://rajaresep.soup.io/
https://storify.com/resepemak
http://recipebakar.tripod.com/
http://makanmurah.blogdetik.com/

by nuzulul hakim on 11/06/14

WordPress restaurant themes

Richard Crenian is President of Redev Properties Ltd. His accomplishments are many and his failures were few. He believes that you cannot be a good lifeguard if you have not seen and saved a drowning and he applies that to good real estate investing. <a href="http://blingthemes.com/wordpress-restaurant-themes/">WordPress restaurant themes</a>

by muneer ahmed on 11/06/14

red clothes

I’ve been surfing online more than three hours these days, yet I by no means discovered any interesting article like yours.https://rebelmouse.com/oxygenmiraclecurereviews/

by imran khatri on 11/21/14

ant

https://www.academia.edu/9586905/The_Gambler_Watch_Online_Putlocker_Megavideo_Hd
https://www.facebook.com/pages/Watch-Birdman-Online-Full-Movie-Free-No-Download/704026933038941
https://www.facebook.com/pages/Watch-Nightcrawler-Online-Free-Megavideo-Putlocker/1518085461800815
https://www.linkedin.com/groups/Hobbit-3-Battle-Five-Armies-6821721.S.5944007323528740867
https://www.rebelmouse.com/WatchBigEyesOnline/
https://www.academia.edu/9586802/Watch_Annie_Online_Streaming_For_Free_2014
https://www.rebelmouse.com/WatchPenguinsofMadagascar/
https://www.rebelmouse.com/WatchThePyramidOnline/
https://www.linkedin.com/groups/Watch-Annie-Online-Full-Movie-8215147.S.5945463942376620033
https://www.facebook.com/pages/Watch-John-Wick-Online-Streaming-For-Free-2014/1510925095841048
https://www.rebelmouse.com/WatchAmericanSniperOnline/
https://www.rebelmouse.com/WatchTheHobbit3Online/
https://www.facebook.com/pages/Watch-Big-Eyes-Online-Streaming-For-Free-2014/783244821710594
https://www.linkedin.com/groups/Watch-Night-Museum-3-Secret-8215147.S.5945465152907276290
https://www.facebook.com/pages/Watch-The-Gambler-Online-Full-Movie-Free-No-Download/1508478189437922
https://www.rebelmouse.com/WatchTheHobbit3Online/
https://www.linkedin.com/groups/Watch-Gambler-Online-Free-Megavideo-8215147.S.5945465846901010432
https://www.academia.edu/9520360/Watch_Fury_Online_Full_Movie_Free_No_Download
https://www.rebelmouse.com/WatchTheInterviewOnline/
https://www.linkedin.com/groups/Watch-Birdman-Online-Streaming-Free-6821721.S.5943766302760919043
https://www.rebelmouse.com/WatchThePyramidOnline/
https://www.facebook.com/pages/Watch-The-Theory-of-Everything-Online-Streaming-For-Free-2014/835530406511530
https://www.facebook.com/pages/The-Pyramid-Watch-Online-Putlocker-Megavideo-Hd/316467051886780
https://www.rebelmouse.com/WatchAmericanSniperOnline/
https://www.academia.edu/9520387/Horrible_Bosses_2_Watch_Online_Putlocker_Megavideo_Hd
https://www.facebook.com/pages/Watch-The-Hunger-Games-3-Mockingjay-Online-Full-Movie-Free-No-Download/794497047290331
https://www.rebelmouse.com/WatchTheGamblerOnline/
https://www.rebelmouse.com/WatchOuijaOnline/
https://www.rebelmouse.com/WatchTheHobbit3Online/
https://www.linkedin.com/groups/Watch-Gambler-Online-Free-Megavideo-8215147.S.5945465846901010432

by Jessica Trishy on 12/04/14

Keren

a lot of people are looking for this site. ? Of course you don’t need to look for a customers or fans because one you order online services they will be the one look for your fans all you have to do is to pay and let them look for your needs. This is the best way in order for you to make your work less hassle.
http://www.ionliga.com
http://www.topseonow.com/idrpoker-com-agen-texas-poker-online-indonesia-terpercaya/
http://mitrajudi.com
http://arenaliga.com/
http://arenaliga.com/sbobet/
http://arenaliga.com/agen-ibcbet/
http://kudapoker.com

by agen bola on 12/17/14

Add comment
Recent Entries
Categories

AJAX (19)
CCK08 (1)
MEL (32)
LAMS (11)
Tech (22)
JQuery (8)
HTML5 (2)



Authors




Archive

Full Archive




Notifications
Icon of envelope Subscribe to notificaitons


Syndication Feed
XML


Recent Comments
  1. luv chouhan: E-aadhaar
  2. sami DH: THANX
  3. collin david: Great post
  4. abdul bari Chanessra: Sbobet Online
  5. duren pancake: Ok thank
  6. duren pancake: OK
  7. agen bola: Keren
  8. agen bola: Keren
  9. agen bola: Keren
  10. agen bola: Keren



Technorati Blogs