OpenID plus a bit of security

Javascript coding ..

Moderators: egami, macek, gesf

Post Reply
Salvodif
New php-forum User
New php-forum User
Posts: 4
Joined: Sun Oct 29, 2017 12:19 am

Sun Oct 29, 2017 12:56 am

Hi,

I would like give to my users the ability to login by openID services like Google.
When the user is logged in then he will able to do some call in a custom web service.

The question is how can the webservice know if the user is logged in?

Tnx

User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 526
Joined: Mon Feb 22, 2016 5:52 pm

Sun Oct 29, 2017 4:09 am

What does google have to say about their service?

Salvodif
New php-forum User
New php-forum User
Posts: 4
Joined: Sun Oct 29, 2017 12:19 am

Sun Oct 29, 2017 5:42 am

Execuse me?

User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 526
Joined: Mon Feb 22, 2016 5:52 pm

Sun Oct 29, 2017 5:59 am

How does the google service work to check when someone is logged on?

Salvodif
New php-forum User
New php-forum User
Posts: 4
Joined: Sun Oct 29, 2017 12:19 am

Sun Oct 29, 2017 8:16 am

I do not know how google does, indeed I'm not interest how they do I need to understand how can I do with a custom webservice :)

User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 526
Joined: Mon Feb 22, 2016 5:52 pm

Sun Oct 29, 2017 8:50 am

If something already exists, then it's a good idea to either use it or at least learn what you can from it - especially where security is concerned since there maybe some things that you either don't know about or haven't thought about.

Salvodif
New php-forum User
New php-forum User
Posts: 4
Joined: Sun Oct 29, 2017 12:19 am

Sun Oct 29, 2017 9:05 am

gotcha good point. But I wrote here to have a hint like "use this library for your webservice and this for your client side on javascript" :)
if possible

Post Reply