Step 1 :-
Create two apps one for portal and other for myportal in facebook
Step2 :-
ConfigEngine.bat enable-identityprovider-tai
-DWasUserId=wpsadmin -DWasPassword=passw0rd_123 -Didp.providerlist=facebook
-Dfacebook_apps=app,pub -Dfacebook_app_id=3086542391078 -Dfacebook_app_secret=ea777462ce3619e2962dcfec97fbe8
-Dfacebook_app_site=http://wportal8.atech.com:10039/wps/myportal -Dfacebook_pub_id=14915261877474
-Dfacebook_pub_secret=0c493581530f3cc47d45ff870654eb
-Dfacebook_pub_site=http://wportal8.atech.com:10039/wps/portal
Stpe 3 :- Go to login portlet and add
below preferences
show_idp_option =true
show_idp_max =1
show_idp_freeform_field
=false
Stpe 4:- Go to profile management and
add below preferences
show_idp_option =true
show_idp_max=1
show_idp_freeform_field=false
facebook.required= ibm-primaryEmail|email;
givenName|first_name; sn|last_name;uid|id;preferredLanguage|locale
facebook.optional=
ibm-primaryEmail|email;givenName|first_name;
sn|last_name;uid|id;preferredLanguage|locale
sn|last_name;uid|id;preferredLanguage|locale
facebook.protocol= openid.ax
Step 5:- Restart the server
Infocenter Link:
http://www-10.lotus.com/ldd/portalwiki.nsf/xpDocViewer.xsp?lookupName=IBM+WebSphere+Portal+8+Product+Documentation#action=openDocument&res_title=Integrating_with_OpenID_authentication_wp8&content=pdcontent
No comments:
Post a Comment