Giter VIP home page Giter VIP logo

Comments (4)

hopkinsth avatar hopkinsth commented on August 21, 2024

Would you please try running this with DEBUG=oktad* in your environment and send me the output? Should give me a better sense of what's going on.

from oktad.

james-huston avatar james-huston commented on August 21, 2024
jamess-mbp ~ : DEBUG=* oktad production -- /bin/bash
17:36:47.870 380us  380us  oktad:main - loading configuration data
17:36:47.870 650us  650us  oktad:config - trying to load from config param file
17:36:47.871 11us   11us   oktad:config - trying to load from CWD
17:36:47.871 58us   58us   oktad:config - loading /Users/jhuston/.okta
Error reading config file!
17:36:47.871 475us  475us  oktad:main - cfg read err: BOM: read /Users/jhuston/.okta: is a directory

as an aside, my config file is in the ~/.okta-aws/ folder

jamess-mbp ~/libs : cd libs
jamess-mbp ~/libs : DEBUG=* oktad production -- /bin/bash
17:38:44.817 104us  104us  oktad:main - loading configuration data
17:38:44.817 164us  164us  oktad:config - trying to load from config param file
17:38:44.817 6us    6us    oktad:config - trying to load from CWD
17:38:44.817 4us    4us    oktad:config - trying to load from home dir
17:38:44.817 4us    4us    oktad:config - loading /Users/jhuston/.okta-aws/config
17:38:44.818 612us  612us  oktad:main - cred load err credentials expired!

from oktad.

hopkinsth avatar hopkinsth commented on August 21, 2024

oktad checks for a file named .okta in your current working directory and isn't handling the case that it's a directory and not a file. I'll push a fix sometime soon.

from oktad.

hopkinsth avatar hopkinsth commented on August 21, 2024

This should be fixed in v0.6.1 https://github.com/hopkinsth/oktad/releases/download/v0.6.1/oktad-darwin-amd64

from oktad.

Related Issues (14)

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.