Getting access tokens for linked identities after primary account login

So I’ve got a login flow setup that allows for a user to login / signup and then once in their profile they can link a facebook account. This is fine if it’s their first time linking since I can get the facebook api access token during the link but afterwards if they logout and log back in I can’t figure out how I would re-get another access token for facebook since it’s not the account I’m logging back in with and as far as I can tell when you login with an account with multiple identities it just provides the access code for the primary identity.

…Hope that kinda makes sense TL;DR I need the facebook access token after I link two accounts.

I realized that the part i was missing was the whole use of the authorization api…I was trying to do too much on the front end and you simply can’t pull from the front end for stuff like what i needed.

1 Like

Thanks a lot for sharing your thought with the rest of the community @lcraver!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.