Skip to content

Grails 2.1.1 -> Latest spring-security-facebook -- Access token not set on FBUser #5

@aliasdhacker

Description

@aliasdhacker

Original code:
FacebookUser fbUser = new FacebookUser(
uid: token.uid,
accessToken: token.accessToken,
user: person
)

This code trys to set the accessToken to the string field (accessToken) and it does not work. In the latest version of FacebookAuthToken, to return the string value of the access token call:

token.accessToken.accessToken

This fixed the app for me.

Just my thoughts, have a great day, Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions