#OAuth works for login but, deleting seesion doesn't if project is removed.

33 messages · Page 1 of 1 (latest)

surreal raven
#

So, steps is

  1. first register your project
  2. And then de-register
  3. try to login with google-oauth
  4. try to logout it will give error 403
"Invalid Origin. Register your new client (com.abc.app) as a new Android platform on your project console dashboard"

I think login should not work for project which have already been removed

half hemlock
#

Even if you don't register your client platform...i think you can still create an oauth2 session

surreal raven
#

oh is possible to disable some-how to completely prevent such behaviour

half hemlock
surreal raven
#

I mean, OAuth login

half hemlock
surreal raven
#

mm, I guess will create the github issue

half hemlock
surreal raven
#

umm, disallow OAuth 👀 from happening if project is not linked

half hemlock
surreal raven
surreal raven
#

client key may I is only need to trigger oAuth login ( of couse when google is enabled)

#

so, if Client Key exposed and as endpoint is always exposed

surreal raven
#

I mean project Id sorry

half hemlock
surreal raven
#

so some-one can create Appwrite instance and start OAuth login ( assuming if OAuth enable)

half hemlock
surreal raven
#
  1. some-one know project Id
#
  1. If oauth enable can't some-one start creating fake OAUTH login
#

and worst case if there are Fuction setup to trigger then that's another issue

half hemlock
surreal raven
half hemlock
#

if you let people create accounts, they can create as many as rate limit allows. if you have oauth2 enabled, anyone can use it

surreal raven
half hemlock