r/eli5_programming • u/modchris • Jan 02 '21
How does logging into third party apps (examples in comments) that use the actual company / website they provide extra services etc for log in details work technically, and how do you know they’re not just stealing your data?
Ok find this really difficult to explain what I mean and understand! But how do third party apps / websites incorporate log ins for the actual site / company etc.
(for example an instagram reposting service where you log into your actual Instagram account but on their app, or tweaked apps like Snapchat++, Apple device software like iMazing where you log into iCloud through them - there are so many examples)
Like exactly does this work technically, use of apis? how do they extract the data, how do they have permissions, and how do you do know your data is safe.
Can companies prevent third parties doing this? Like for example Snapchat can detect if you use third party apps like Phantom and close your account, but can how come they can prevent people logging in on 3rd party apps
View all comments
1
u/modchris Jan 04 '21
Thank you! That first bit was explained really well.
So regarding that last example I’m still kinda confused. I think using your explanation; a better way of putting it is how do those third parties without an agreement in place with Snapchat (phantom in this case) gain access to all your account info, where you can perform all account actions plus more as if you had logged into the actual app itself - through essentially what is api’s as you mention.
And how come they can’t stop logins in the first place to anywhere but their official app (rather than dealing with detecting then banning).
I’m just wondering as I still find the whole login into a third party app using your own account details for then official app hard to get around if there isn’t an agreement between the two parties .
Regarding the service blocking third parties doing this / not allowing logins how would they do that? Would they revoke or stop certain apis on their end .
Also does signing in with SAML / SSO where for eg you can use Google to sign into places have anything to do with how these things work / can be used to explain it