Rank 3: Container
Hello ! I'm trying to utilize appwrite cli on ci server, but can't find proper command related to enabling oAuth provides.
I tried couple:
appwrite projects updateAuthStatus --projectId projectId --method google --status true
✗ Error Invalid method: Value must be one of (email-password, magic-url, anonymous, invites, jwt, phone)
appwrite projects updateOAuth2 --projectId projectId --provider google --appId appId --secret secret --enabled true
error: unknown option '--enabled'
Could someone help with a proper command ? Help (-h) flag doesn't provide info about how to enable oAuth for google/apple
appwrite projects updateAuthStatus --projectId projectId -h - looks like only supports email-password,magic-url,anonymous,invites,jwt,phone
Usage: index projects updateAuthStatus [options]
Options:
--projectId <projectId> Project unique ID.
--method <method> Auth Method. Possible values: email-password,magic-url,anonymous,invites,jwt,phone
--status <status> Set the status of this auth method.
-h, --help display help for command
Usage: index projects updateOAuth2 [options]
Options:
--projectId <projectId> Project unique ID.
--provider <provider> Provider Name
--appId <appId> Provider app ID. Max length: 256 chars.
--secret <secret> Provider secret key. Max length: 512 chars.
-h, --help display help for command