Back

[SOLVED] Is it possible to configure auth settings via .env or cli or something else ?

  • 1
  • Tools
  • Accounts
squallsama
15 Mar, 2023, 04:49

Right now I can configure oauth with Google, apple and etc only via UI. It's not a convenient way for automated deployment...Is there any way I can pre-configure it or configure it via cli ?

TL;DR
Is it possible to configure auth settings via .env or cli or something else? Yes, it is possible to configure auth settings via CLI or API. Solution: Use the command `appwrite projects --help` to find the commands for configuring auth settings. Refer to the documentation for more details: https://appwrite.io/docs/command-line-commands
Drake
15 Mar, 2023, 04:53

Yes, you can configure via CLI or APi. Everything done in the Console is available via API

squallsama
15 Mar, 2023, 05:01

https://appwrite.io/docs/command-line-commands

Well...I can't find anything related to Auth configuration such as set client secret/client id for Google auth provider

Drake
15 Mar, 2023, 05:03

It's under projects. So try appwrite projects --help

squallsama
15 Mar, 2023, 05:03

Thanks ! I'll try it now.

squallsama
16 Mar, 2023, 04:24

Yeah. It works. Thanks, Steven !

Drake
16 Mar, 2023, 04:29

[SOLVED] Is it possible to configure auth settings via .env or cli or something else ?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more