Skip to content

I get this on Twitter call back and I don't know why #213

Open
@spartyboy

Description

@spartyboy

Twitter return Indirect modification of overloaded property SocialiteProviders\Manager\OAuth1\User::$urls has no effect on callback page when am trying to get the user from socialite

The issue is from this part of the package from telescope

$used = ['id', 'screen_name', 'name', 'location', 'description', 'profile_image_url_https', 'email'];

63

64 foreach ($data as $key => $value) {

65 if (strpos($key, 'url') !== false) {

66 if (!in_array($key, $used, true)) {

67 $used[] = $key;

68 }

69

70 $user->urls[$key] = $value;

71 }

72 }

73

74 $user->extra = array_diff_key($data, array_flip($used));

75

76 return $user;

77 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions