[bug] requestMappings in JSON_CONFIG not working as documented for docker
See original GitHub issueFirst off, thanks so much for this project! I’m super-stoked to get it working, and to be able to strip a lot of custom work-arounds from a local dev environment ❤️
The thing I’m hitting is that I’m unable to use the standalone mode as described, specifically with requestMappings
. I’ve confirmed that:
- the config json is being read,
- top-level config can be changed (e.g.,
interactiveLogin
), - malformed
tokenCallbacks
entries cause the server not to start
BUT using the exact config json as described in the README does not seem to match and generate any sort of custom token response when hitting the appropriate issuer.
I’ve created a full reproduction here: https://github.com/patcon/mock-oauth2-repro
Any advice is appreciated! 🙌
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
oetl.sh can't find json config file · Issue #65 - GitHub
Hello. I am trying to import data from json file with ETL in my docker container. When running official command from Orentdb Docker...
Read more >11 - Stack Overflow
It may be that the .docker folder and the .docker/json.config file is not owned by the current user. Try this: sudo chown $USER:docker ......
Read more >jaegertracing/Lobby - Gitter
Hi, I'm having a problem getting some of my traces to show up in Jaeger UI... but only when running my app through...
Read more >Configuring docker image with .json - Help - Caddy Community
The problem I'm having: There are two questions I couldn't figure out reading the documentation. The first is whether or not it is...
Read more >docker inspect - Docker Documentation
Docker inspect provides detailed information on constructs controlled by Docker. By default, docker inspect will render results in a JSON array. For example ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@patcon no need to apologies! thanks for bringing it up and engaging in the project 👍🏾
Hm. I must have been seeing something else in my actual non-reproduction version, and my typo’d reproduction was a false lead…! But glad to have it working! (I was on an old version 0.3.6 just to try to see if it was consistent over time)
If I were to think what may have tipped me off: I was reading output logs, and maybe a warning clarifying that file was detected as set in envvar, but not found at the location? But that’s very minor…!
Thanks very much both, and apologies for the noise 🙏