Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: CLI Login when you are authenticated with Github #5659

Open
2 tasks done
semroig opened this issue Jun 5, 2023 · 4 comments
Open
2 tasks done

🚀 Feature: CLI Login when you are authenticated with Github #5659

semroig opened this issue Jun 5, 2023 · 4 comments
Assignees
Labels
product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. product / cloud Issues found only on Appwrite Cloud

Comments

@semroig
Copy link

semroig commented Jun 5, 2023

🔖 Feature description

The feature will be Login options based on the options the Appwrite Cloud offers for authetication (right now, Github).

🎤 Pitch

If you are signed up to appwrite cloud with Github, when you want to Login into Appwrite CLI you cannot.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@joeyouss
Copy link

Thank you for raising this. I think it is a good idea, hence, gonna keep it open for gathering feedback

@joeyouss joeyouss self-assigned this Jun 20, 2023
@joeyouss joeyouss added product / cloud Issues found only on Appwrite Cloud product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. labels Jun 20, 2023
@christyjacob4
Copy link
Member

@semroig thank you for raising this. This is something we have in our backlog. We will prioritise it soon

@IJustDev
Copy link

Function deployment via the ui does not work for me, because I can not link github correctly (getting 409 error). The CLI does not support my github authentication. What am I supposed to do??

@IJustDev
Copy link

Okay since I needed a fast solution, i did following steps to get a working sessions this evening for the cli.

  1. clone the repository into your project
  2. put "sdk-for-cli": "file:./sdk-for-cli" into your package.json
  3. npm install that
  4. modify the getCookie() method inside lib/config.js and return the cookie that you can grab from your devtools. It's the a_session_console one.
    Bildschirmfoto 2024-06-16 um 21 59 04

It's hacky af, but it just works™ and maybe it helps you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. product / cloud Issues found only on Appwrite Cloud
Projects
None yet
Development

No branches or pull requests

4 participants