Hi,

What error do you get?

Thanks.
Best regards,
Jérôme


2015-05-07 8:17 GMT+02:00 Sudhakar Gangiti <[email protected]>:

> Hi Jérôme:
>
> *Thanks for  the input.*
>
> *I have tried to excluding user name  in the set fileds of
> Scribe-up1.3.1.jar, my authentication from FB is success but my spring
> configuration is allowing me and getting different errors.*
>
>
> *http://www.tumbhi.com/j_spring_cas_security_check?ticket=ST-91-rKB3Zbb9r3BfydBcelxF-cas01.example.org#_=_
> <http://www.tumbhi.com/j_spring_cas_security_check?ticket=ST-91-rKB3Zbb9r3BfydBcelxF-cas01.example.org#_=_>*
>
>
> Regards,
> Sudhakar G
>
> On Wednesday, May 6, 2015 at 2:31:14 PM UTC+5:30, Jérôme LELEU wrote:
>>
>> Hi,
>>
>> More a CAS user question...
>>
>> The Facebook API, like other identity providers, is always changing. The
>> CAS server v4 release relies on an old pac4j release (v1.4.1) while the
>> latest pac4j version is 1.7.0 ! (which will be used by the future CAS v4.1
>> release).
>>
>> Though, you can choose the requested fields for Facebook (from which you
>> should excluse username of course) by using the setFields method:
>> https://github.com/pac4j/pac4j/blob/1.4.x/pac4j-oauth/src/main/java/org/pac4j/oauth/client/FacebookClient.java#L222
>>
>> Best regards,
>> Jérôme
>>
>>
>> 2015-05-06 10:31 GMT+02:00 Sudhakar Gangiti <[email protected]>:
>>
>>> Facebook  API  version has changed, please help me to update the
>>> scribe-up1.3.1 jar file. As facebook is stopped sharing the username but
>>>  in FacebookProvider.java file we are requesting it. How can i update the
>>> java files.
>>>
>>> On Tue, May 5, 2015 at 9:54 PM, Sudhakar Gangiti <[email protected]>
>>> wrote:
>>>
>>>> Hello All,
>>>>
>>>> I am not able to login with facebook login button getting below error.
>>>> Please help me.
>>>>
>>>>
>>>>
>>>> 2015-05-05 16:12:14,208 DEBUG
>>>> [org.scribe.up.provider.BaseOAuth20Provider] - verifier :
>>>> AQDSt6uDa3US9IXC7zVPBCJjHn0tCkC_iftUtSBU4jglJqa7Vfg7CQjYKDTFD9vU6RByF5aMDGFaYcnPCHJmBSMP2Wnm9r4YvGd8HscAmQMbSZy3awbF8FrrM2HiWXS6kOjqtAk_hA17d_tp2ZWhERuZrZIRiexerNyr_WqyZIpnBLyvWPSQijE3cEnPkDVdPs281uo3oVF02ivPxtdXozLtJORAxeJtyLa9EcxEOqYW3e_d5iuMHf5tkzKVs9sdX4FRe8zWau0_2rJlp7MhcxFVJEzqmLXJMamj_rd8E73dwx1G1DSkecc5dSAaqYL2kTbegopAVO6UukxHw_2Q3gCd
>>>>
>>>> 2015-05-05 16:12:14,208 DEBUG
>>>> [org.scribe.up.provider.BaseOAuth20Provider] - verifier :
>>>> AQDSt6uDa3US9IXC7zVPBCJjHn0tCkC_iftUtSBU4jglJqa7Vfg7CQjYKDTFD9vU6RByF5aMDGFaYcnPCHJmBSMP2Wnm9r4YvGd8HscAmQMbSZy3awbF8FrrM2HiWXS6kOjqtAk_hA17d_tp2ZWhERuZrZIRiexerNyr_WqyZIpnBLyvWPSQijE3cEnPkDVdPs281uo3oVF02ivPxtdXozLtJORAxeJtyLa9EcxEOqYW3e_d5iuMHf5tkzKVs9sdX4FRe8zWau0_2rJlp7MhcxFVJEzqmLXJMamj_rd8E73dwx1G1DSkecc5dSAaqYL2kTbegopAVO6UukxHw_2Q3gCd
>>>>
>>>> 2015-05-05 16:12:15,343 DEBUG
>>>> [org.scribe.up.provider.BaseOAuth20Provider] - accessToken :
>>>> Token[CAACDycziViQBAH6FaPEuwetqLOxc7ZCkBeW4ItvBbcGlESbgtYedEwfMOgg6OaZCGjxhJBPcfUqgFHaNoxaij1AjO982a0LSwaWANzzMHunPI2W6aB5G5dcTPsd2sJpGNj6Tykm1s3begR94fKXszZBCCkHG8OUf5XHULm6RuP1Kv9BkAQ5WUWhpXF81ATcUt3WrZCIWDFhHebFJlsah
>>>> , ]
>>>>
>>>> 2015-05-05 16:12:15,343 DEBUG
>>>> [org.scribe.up.provider.BaseOAuthProvider] - accessToken :
>>>> Token[CAACDycziViQBAH6FaPEuwetqLOxc7ZCkBeW4ItvBbcGlESbgtYedEwfMOgg6OaZCGjxhJBPcfUqgFHaNoxaij1AjO982a0LSwaWANzzMHunPI2W6aB5G5dcTPsd2sJpGNj6Tykm1s3begR94fKXszZBCCkHG8OUf5XHULm6RuP1Kv9BkAQ5WUWhpXF81ATcUt3WrZCIWDFhHebFJlsah
>>>> , ] / dataUrl :
>>>> https://graph.facebook.com/me?fields=id,name,first_name,middle_name,last_name,gender,locale,languages,link,username,third_party_id,timezone,updated_time,verified,bio,birthday,education,email,hometown,interested_in,location,political,favorite_athletes,favorite_teams,quotes,relationship_status,religion,significant_other,website,work
>>>>
>>>> 2015-05-05 16:12:15,599 DEBUG
>>>> [org.scribe.up.provider.BaseOAuthProvider] - Request took : 256 ms for :
>>>> https://graph.facebook.com/me?fields=id,name,first_name,middle_name,last_name,gender,locale,languages,link,username,third_party_id,timezone,updated_time,verified,bio,birthday,education,email,hometown,interested_in,location,political,favorite_athletes,favorite_teams,quotes,relationship_status,religion,significant_other,website,work
>>>>
>>>> 2015-05-05 16:12:15,600 DEBUG
>>>> [org.scribe.up.provider.BaseOAuthProvider] - response code : 400 / response
>>>> body : {"error":{"message":"(#12) username field is deprecated for versions
>>>> v2.0 and higher","type":"OAuthException","code":12}}
>>>>
>>>> 2015-05-05 16:12:15,600 ERROR
>>>> [org.scribe.up.provider.BaseOAuthProvider] - Failed to get user data, code
>>>> : 400 / body : {"error":{"message":"(#12) username field is deprecated for
>>>> versions v2.0 and higher","type":"OAuthException","code":12}}
>>>>
>>>> 2015-05-05 16:12:15,600 INFO
>>>> [org.jasig.cas.authentication.AuthenticationManagerImpl] -
>>>> org.jasig.cas.support.oauth.authentication.handler.support.OAuthAuthenticationHandler
>>>> failed to authenticate
>>>> org.jasig.cas.support.oauth.authentication.principal.OAuthCredentials@6deab449
>>>>
>>>> 2015-05-05 16:12:15,600 INFO
>>>> [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit
>>>> trail record BEGIN
>>>>
>>>> =============================================================
>>>>
>>>> WHO:
>>>> org.jasig.cas.support.oauth.authentication.principal.OAuthCredentials@6deab449
>>>>
>>>> WHAT: supplied credentials:
>>>> org.jasig.cas.support.oauth.authentication.principal.OAuthCredentials@6deab449
>>>>
>>>> ACTION: AUTHENTICATION_FAILED
>>>>
>>>> APPLICATION: CAS
>>>>
>>>> WHEN: Tue May 05 16:12:15 IST 2015
>>>>
>>>> CLIENT IP ADDRESS: 203.18.137.38
>>>>
>>>> SERVER IP ADDRESS: 10.10.25.140
>>>>
>>>> =============================================================
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2015-05-05 16:12:15,601 INFO
>>>> [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit
>>>> trail record BEGIN
>>>>
>>>> =============================================================
>>>>
>>>> WHO:
>>>> org.jasig.cas.support.oauth.authentication.principal.OAuthCredentials@6deab449
>>>>
>>>> WHAT: error.authentication.credentials.bad
>>>>
>>>> ACTION: TICKET_GRANTING_TICKET_NOT_CREATED
>>>>
>>>> APPLICATION: CAS
>>>>
>>>> WHEN: Tue May 05 16:12:15 IST 2015
>>>>
>>>> CLIENT IP ADDRESS: 203.18.137.38
>>>>
>>>> SERVER IP ADDRESS: 10.10.25.140
>>>>
>>>> =============================================================
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Sudhakar
>>>>
>>>
>>>
>>>
>>> --
>>> Sudhak
>>>
>>> --
>>> You are currently subscribed to [email protected] as: [email protected]
>>> To unsubscribe, change settings or access archives, see 
>>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>>
>>>
>> --
>> You are currently subscribed to [email protected] as: 
>> [email protected]
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>
>> --
> You are currently subscribed to [email protected] as: [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to