Admin
well ya...email/password login would only work if the platform was registered
Votes
0
Replies
24
Participants
Unknown
Messages
25
Admin
well ya...email/password login would only work if the platform was registered
Rank 5: Hypervisor
mm, I guess will create the github issue
Admin
for what?
Rank 5: Hypervisor
umm, disallow OAuth 👀 from happening if project is not linked
Admin
the thing is oauth2 isn't really happening on the mobile device. it's happening on the appwrite server and then they're redirected into the app
Rank 5: Hypervisor
yaa mm, I mean it safe but still from not happening if somehow keys are exposed then some-one can use it to do this nasty things
Admin
what keys?
Rank 5: Hypervisor
client key may I is only need to trigger oAuth login ( of couse when google is enabled)
Rank 5: Hypervisor
so, if Client Key exposed and as endpoint is always exposed
Admin
what client key?
Rank 5: Hypervisor
I mean project Id sorry
Admin
these are all non-sensitive
Rank 5: Hypervisor
so some-one can create Appwrite instance and start OAuth login ( assuming if OAuth enable)
Admin
not really because the redirect url is configured to point to your appwrite instance
Rank 5: Hypervisor
correct me if I am missing here,
Rank 5: Hypervisor
Rank 5: Hypervisor
Rank 5: Hypervisor
and worst case if there are Fuction setup to trigger then that's another issue
Admin
what do you mean by "fake OAUTH login"?
Rank 5: Hypervisor
I mean some can create random gmail account ans start doing login attempts
Admin
sure...but that has nothing to do with registered platforms
Admin
if you let people create accounts, they can create as many as rate limit allows. if you have oauth2 enabled, anyone can use it
Rank 5: Hypervisor
umm, so OAUTH is not bound to having project being register at first place mean
Admin
right...registered platforms isn't really directly connected
Rank 5: Hypervisor
ahh got it mm, anyway till it's not a vulnerability then it's fine