# A simple CLI Client

**URL:** <https://community.vikunja.io/t/a-simple-cli-client/812>\
**Category:** Uncategorized\
**Created:** [7 September 2022 23:35 UTC](https://community.vikunja.io/t/a-simple-cli-client/812 "2022-09-07T23:35:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [8 September 2022 11:34 UTC](https://community.vikunja.io/t/a-simple-cli-client/812/2 "2022-09-08T11:34:42Z")

</div>

> [@xeruf](#):
>
> Is there a good way to authenticate via OIDC when calling a script (e.g. Google has a workflow where you can quickly authenticate an external application from the browser)?  
> I looked in the API docs, but these seem to require already having made a call to the provider. Basically I want to prompt the user to login and then get the token out somehow, without having to copy it from the network log.

I think most other cli clients (like the stripe cli, for example) solve this by starting a web server and authenticating in the browser, then save the obtained api token to some place where the cli can access it.

> [@xeruf](#):
>
> Is the handling of quick add magic available in the api, and if not could that be made available there?

Right now it’s not implemented in the api. It will be at some point though.

---

_[View the full topic](https://community.vikunja.io/t/a-simple-cli-client/812)._
