Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User nicowitteman's Avatar
    Join Date
    Aug 2012
    Posts
    12
    From my wrt widget, I must visit an external website to logon to, grant access to their service and in return they display a verification code that my users then have to retype in my widget. My phone browser does not allow for displayed text to be copied an pasted into my widget. This makes it a tedious process that has to be repeated once a month.
    I am looking for an easier method.

    Scenarios:
    1. instead of launching a browser using widget.openURL, display the website inside an iframe - this does not work, since the origin is different and the content is inaccessible for my widget
    2. I can provide a static, not dynamic callback url to the service that they can redirect to after my user has granted access. But how would I create such a callback URL? If I inspect the this.location property of the widget, I can see that it differs per installation, but even if it weren't, could this be a solution?

    Any thoughts?

  2. #2
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    Hi and welcome to forum!
    Are you using OAuth 1.0 or some custom authentication protocol?
    If it is OAuth you could use a proxy to do the authentication part, as Symbian WRT widgets don't have a URL that could be used as a callback.

    This on is for Series 40 Web Apps, but should be easily modified to work with WRT as well
    http://www.developer.nokia.com/Commu...es_40_Web_Apps

    Br,
    Ilkka

  3. #3
    Registered User nicowitteman's Avatar
    Join Date
    Aug 2012
    Posts
    12
    Thank you Ilkka,
    It is oauth indeed that is used. I will have a look into it. I am not very happy with the fact that I would have to include my consumer secret in the widget, and my server does not run php but dotnet, but maybe these issues can be overcome.

    Kind regards,
    Nico

Similar Threads

  1. WRT tech in a webpage
    By tpharaoh in forum Symbian Web Runtime
    Replies: 1
    Last Post: 2010-02-09, 12:11
  2. Get Webpage on N95
    By julierico in forum Python
    Replies: 6
    Last Post: 2008-04-16, 15:40
  3. unable to access webpage
    By sarayu in forum Symbian C++
    Replies: 5
    Last Post: 2007-07-26, 11:45
  4. Wap Webpage creation
    By javadev2 in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2007-07-18, 02:15
  5. webpage look in view
    By rkckolla in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-11-04, 14:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved