formapro / FpOpenIdBundle

Symfony2 OpenID security extension
53 stars 31 forks source link

Add recipe about connect functionality #51

Open Koc opened 12 years ago

Koc commented 12 years ago

For example there is user which already login and password. And he wants connect openid to current account. How it possible to do this?

makasim commented 12 years ago

/account/externals - CoreBundle:SecurityExternalAuthenticationController:listAction - displays list of your connections /account/externals/{relying_party}/connect/{csrf_token} - CoreBundle:SecurityExternalAuthenticationController:connectAction - allows you to connect one more openid account.

makasim commented 12 years ago

sorry ignore previous comment it is for internal project I work on. we currently discuss same issue there.

makasim commented 12 years ago

yes it is a good idea.

Koc commented 11 years ago

@makasim any news on it?

makasim commented 11 years ago

@makasim any news on it?

nothing new. I dont have a good solution to use as a recipe. The one in the project I work on is too specific.

P.S. I am keeping this open as a remainder.

Koc commented 11 years ago

ping @makasim

makasim commented 11 years ago

@Koc nothing new. I can share project code somewhere if you want. Though I dont like how the code look like.

Koc commented 11 years ago

Have you look how it realized in https://github.com/hwi/HWIOAuthBundle/ ?

makasim commented 11 years ago

Have you look how it realized in https://github.com/hwi/HWIOAuthBundle/ ?

no, I heard about this bundle but don`t have a chance to use it. I would try to find time to look at it, but it may be hard as I am busy working on payment solutions atm.

makasim commented 11 years ago

This how I implemented it in the project https://gist.github.com/makasim/5982667. Hope it helps you