Custom front end: remember username & password

Discuss about Group-Office development here

Moderator: Developers

jamesarthur
Posts: 55
Joined: Fri Nov 08, 2013 9:15 am

Custom front end: remember username & password

Postby jamesarthur » Fri Nov 08, 2013 9:21 am

Hi Guys,

I'm new here, so hi all :)

I want to get some data out of groupoffice to use on an auto-updating display. I want to be similar to the groupoffice login procedure, where you can remember the username and password. I had a look at the code and it seems to place 2 cookies with the username and password encrypted, but I found it hard to understand the javascript.

I guess my question is, what are the steps to logging in and remembering the username/password in a secure way?

James
mschering
Site Admin
Site Admin
Posts: 8284
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Custom front end: remember username & password

Postby mschering » Fri Nov 08, 2013 9:23 am

What go does is just setting cookies. We use a 2 way encryption mechanism to encrypt them.
Best regards,

Merijn Schering
Intermesh
jamesarthur
Posts: 55
Joined: Fri Nov 08, 2013 9:15 am

Re: Custom front end: remember username & password

Postby jamesarthur » Fri Nov 08, 2013 10:31 am

Hi, thanks for the quick response :D

So do I just send a parameter to the server asking for the cookies to be set, and then just send them as the username and password for future logins?
mschering
Site Admin
Site Admin
Posts: 8284
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Custom front end: remember username & password

Postby mschering » Fri Nov 08, 2013 12:32 pm

Your application should set the cookies. I think this logic should be part of your app.
Best regards,

Merijn Schering
Intermesh
jamesarthur
Posts: 55
Joined: Fri Nov 08, 2013 9:15 am

Re: Custom front end: remember username & password

Postby jamesarthur » Tue Nov 12, 2013 10:31 am

Aah OK, so I need to have a look at your encryption algorithm and use it.

Who is online

Users browsing this forum: No registered users and 1 guest