Page 1 of 5 12345 LastLast
Results 1 to 10 of 50

Thread: OSDash server authentication is here!

  1. #1
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2

    OSDash server authentication is here!

    Goce and Sean have set up the server for OSDash, as you all know. If you want an account on it, PM myself or Goce or Optikalfx (Sean) to request it.

    In addition, there has been a need for a user ID access and authentication so that services are informed of the appropriate settings for each user. Sean came up with a solution for this problem and sent me an email about it. Here's what he says.

    So I've made 3 apps for OS Dash so far.
    Authentication app
    API key Generator
    APP Key Generator

    Basically how it works, a developer will include a server.php file I've made. And they have access to a Class called OSdash. You construct that class with your mp3car username, password, api key, and application key. From that, a session is created on success so we know the user was successfully authenticated.

    Every developer needs an api key
    Every application needs an application key.
    You can use the 2 apps I've made to get these items.
    http://www.mp3car.com/osdash/apiGen.php
    http://www.mp3car.com/osdash/appGen.php
    In both cases you need a forum username and password.
    You can play with the auth object here
    http://12.167.132.206/apps/auth
    When you get a success you will be shown a dump of the os dash output

    I made a wiki on all of this here.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  2. #2
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,492
    Great to hear! We still need an actual web service for login/auth that ties into this new code right?
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  3. #3
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    Right. But this gives us the username/id stuff we need for those services.

    We talked about maybe doing a gps location service as a simple one but I think that Matt noted we might need username/id to do that, so we can have the user set whether it is anonymous or shared or whatever.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  4. #4
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,492
    Looking into this a bit more, this is a great big step in the right direction, however, I have a few concerns. Is it possible to make server.php a restful service? or perhaps create a php-based restful service that does the same thing as the test app but exposes a restful service instead of a form? The reason for this, is that we don't want to force the use of a single web language, ie, php.

    I'm also unclear as to the difference between an App key and an API key. I assume that the App key is for any client to use when authenticating. But what about the API key?

    I'm glad that we've taken this step so we can talk about it more and get this going. Communication is a huge barrier in dealing with distributed projects. Hopefully we can pull Goce and Sean into the forum channels and improve communication a bit. We need to know who is doing what and how so that there is no overlap and so we maintain a fluid direction.

    Moving forward, here are the parts we seem to need for login/authentication/sessions:

    1 - mp3car user account auth (which is this)
    2 - a login web service that talks with this and handles a session similarly to the login service proposal by justchat.
    3 - providing 1 and 2 work, we need the client to pass the user credentials, and app key (and api key?) to the login web service that will pass it on to the user account auth

    I'm a little fuzzy on the interaction points, so please correct me. Matt has something going for the login web service. We need to get him and Goce/Sean together to work out how the interaction will work and make it happen. Then I can get with Matt and talk about how it'll work on the client side.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  5. #5
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    I've asked Goce and Sean to take a look at this thread and the one that specifies the requirements for the server - have you seen it? I just added the server sub-forum (which I've moved this thread into) but you may not have noticed.

    I'll take responsibility for trying to get these requirements drafts in place (not just the server but also the client) and keeping them up to date. That will allow us to reference actual documentation that we can point to that will let us mesh these things together.

    As for the REST question - if I understand RESTful services (and I don't think I really do), you would want to access something like http://www.osdash.org/clientlogin.html by supplying the API key, app key, username and passwor. Then, if that authenticates, you would be returned some sort of "active" state (not sure how that works). [Edit: Okay, I see. Something like an xml file comes back, which is why we need to define an OSDash data standard.]

    Then, if you wanted to do other stuff like use a user's gps web service you might ask the server whether a user has a gps service like so http://www.osdash.org/ServicesActive.html and would receive a list of services the user has turned 'on' from the web interface. And maybe http://www.osdash.org/ServicesActive/gps.html would return all of the information you need to interact with the gps service? And all further interaction with the gps service (like reporting the lat/long) would take place between the client and the gps service, correct?

    Is that how it works? As near as I can tell, it is sort of like traversing a set of links to different pages.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  6. #6
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,774
    Quote Originally Posted by kev000 View Post
    Communication is a huge barrier in dealing with distributed projects. Hopefully we can pull Goce and Sean into the forum channels and improve communication a bit. We need to know who is doing what and how so that there is no overlap and so we maintain a fluid direction.
    Who here uses google wave?

  7. #7
    Variable Bitrate UnusuallyGenius's Avatar
    Join Date
    Mar 2009
    Location
    Grand Rapids, Mi
    Posts
    223
    Quote Originally Posted by justchat_1 View Post
    Who here uses google wave?
    +1 for google wave

    perfect idea for this project

    i have invites if people need em. PM me
    - Project: Unified Car Control
    - Original OpenMobile Interface Designer

  8. #8
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    I'm game. It's a very cool set of tools. But everyone will need to use it.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  9. #9
    Organic Me
    Auto Apps:loading...
    Heather's Avatar
    Join Date
    Sep 2007
    Location
    Fells Point, Baltimore, MD
    Posts
    1,287
    Blog Entries
    48
    Guys

    Lets just use the forum to start, i can set up another forum if you like for discussion. If we use google wave, we are just creating another thing to check and for us at mp3Car, this will become a hassle. Anyone can participate in the conversation here and be added to the conversation here on the forums. With Google Wave, you need to get access.

    If there is some type of plugin we can add to the forums, we are happy to do it.

    Mp3Car is putting real man hours into this, rather than other projects, and making an investment. I am not a huge fan of email and the amount of chatter Google Wave creates/allows for.

  10. #10
    Variable Bitrate UnusuallyGenius's Avatar
    Join Date
    Mar 2009
    Location
    Grand Rapids, Mi
    Posts
    223
    +1 for a separate forum
    - Project: Unified Car Control
    - Original OpenMobile Interface Designer

Page 1 of 5 12345 LastLast

Similar Threads

  1. GPSTracker on home server
    By lambosprit in forum GPS
    Replies: 319
    Last Post: 07-12-2012, 05:35 PM
  2. Lilliput screen on Ubuntu
    By yam125 in forum Linux
    Replies: 13
    Last Post: 06-13-2011, 10:19 AM
  3. OSDash Web Interface Definition
    By Bugbyte in forum OSDash - Web Interface
    Replies: 19
    Last Post: 12-31-2009, 01:32 PM
  4. OSDash - Client definition
    By Bugbyte in forum OSDash - Client
    Replies: 9
    Last Post: 12-22-2009, 11:34 PM
  5. Windows Server
    By Quattro in forum Off Topic
    Replies: 11
    Last Post: 04-17-2006, 11:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •