Hi Taekyu Kang, When you are using github authorization, I suggest you to generate your own client on github, otherwise you don’t have issued tokens under control.
1) https://developer.github.com/apps/building-integrations/setting-up-and-registering-oauth-apps/registering-oauth-apps/ 2) https://github.com/iotivity/iotivity/blob/master/cloud/account/src/main/java/org/iotivity/cloud/accountserver/oauth/Github.java#L53 BR Ondrej Tomcik :: KISTLER :: measure, analyze, inovate From: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Jee Hyeok Kim Sent: Monday, October 23, 2017 4:06 AM To: Taekyu Kang; iotivity-dev@lists.iotivity.org Subject: Re: [dev] IoTivity cloud OAuth issue Hello, I can get valid authcode using below URL. (You can get from redirected URL query param 'code', not payload, it's temporal solution) Best Regards JK --------- Original Message --------- Sender : Taekyu Kang <netstor...@gmail.com<mailto:netstor...@gmail.com>> Date : 2017-10-20 00:54 (GMT+9) Title : [dev] IoTivity cloud OAuth issue Hi, I followed the tutorial from https://wiki.iotivity.org/iotivity_cloud_-_programming_guide I successfully Compile & Builded the server and looks like it works correctly. However, I have to get the OAuth code from https://github.com/login?return_to=%2Flogin%2Foauth%2Fauthorize%3Fclient_id%3Dea9c18f540323b0213d0%26redirect_uri%3Dhttp%253A%252F%252Fwww.example.com%252Foauth_callback%252F and looks like the URL is outdated. Can you tell me the updated URL ? Or please tell me the alternate way to get the OAuth code. Thank you. _______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org<mailto:iotivity-dev@lists.iotivity.org> https://lists.iotivity.org/mailman/listinfo/iotivity-dev [cid:image001.gif@01D34BDC.46B19D90] [http://ext.samsung.net/mail/ext/v1/external/status/update?userid=jihyeok13.kim&do=bWFpbElEPTIwMTcxMDIzMDIwNjEzZXBjbXMxcDg4ZTAxMTNjNGFhZmY0MzQyNTdlOWQ4ZGQxMDg3N2ZmOCZyZWNpcGllbnRBZGRyZXNzPWlvdGl2aXR5LWRldkBsaXN0cy5pb3Rpdml0eS5vcmc_]
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev