Giter VIP home page Giter VIP logo

Comments (9)

hdanzl avatar hdanzl commented on August 26, 2024 2

The token is persisted in your {user}.paconn folder. Just delete the file...

from powerplatformconnectors.

Cloudmersive avatar Cloudmersive commented on August 26, 2024 1

Thanks @garrytrinder but running in Docker containers is pretty heavy for a basic script.

For reference the Zapier platform CLI has "zapier login" and "zapier logout". This seems like a more sustainable solution to a basic problem.

from powerplatformconnectors.

Cloudmersive avatar Cloudmersive commented on August 26, 2024 1

@hdanzl Good workaround, thanks. Still seems like a built in logout command would be the right solution long term

from powerplatformconnectors.

garrytrinder avatar garrytrinder commented on August 26, 2024

+1

Not a fix but a potential workaround, you can run multiple instances of paconn at the same time using a Docker container, each authenticated with different tenants, as shown below.

image

As the containers are isolated from each other they donโ€™t conflict.

I have a public image on Docker Hub for re-use

https://hub.docker.com/r/garryt/paconn-cli

image

It might also be possible (easier) to just run paconn in another terminal/shell window โ˜บ๏ธ

from powerplatformconnectors.

Cloudmersive avatar Cloudmersive commented on August 26, 2024

Any plans to fix this? It is causing issues that you cannot logout

from powerplatformconnectors.

mamurshe avatar mamurshe commented on August 26, 2024

A new release contains a fix for this issue. The login method now contains a --force parameter to override previous login. It will be posted to pypi by the end of next week.

from powerplatformconnectors.

mamurshe avatar mamurshe commented on August 26, 2024

Please delete the .paconn folder in the user directory to force it to login again.

from powerplatformconnectors.

mamurshe avatar mamurshe commented on August 26, 2024

0.0.11 is released with a --force option for login, which essentially discards previous login and logs the user in again. Please run pip install --upgrade paconn to update your version.

from powerplatformconnectors.

Cloudmersive avatar Cloudmersive commented on August 26, 2024

This works, thank you

from powerplatformconnectors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.