TrackerNetwork / DestinyStatus

Destiny Status code base
https://destinystatus.com
MIT License
101 stars 29 forks source link

OAuth Sign-In fails on Preferred Account page #101

Closed sgtfrankieboy closed 6 years ago

sgtfrankieboy commented 6 years ago

When trying to sign into DestinyStatus using OAuth, I get redirected to:

https://destinystatus.com/preferred-account

This page returns the following error: "Whoops, looks like something went wrong."

I am assuming it has something to do with having multiple accounts attached? I have my XBL, PSN and Battle.net accounts linked. However only have a Destiny 2 account/character for XBL.

iBotPeaches commented 6 years ago

Issue was because Bungie accounts with multiple Destiny accounts that have not set a preferred didn't have the account relation, thus failed. Fixed with two above commits.