-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
Error when trying to use GitHub Oauth2 in dev branch #1775
Comments
@pavilalopes there is a missing information in the doc. Since #1613 the Github API URL is customizable. akhq/src/main/resources/application.yml Lines 71 to 74 in a9197f9
|
Thanks for the reply. Adding this to application.yml did not fix the error:
Setting the environment variable |
I just tried on my side. The snippet I gave you to setup the github.api.url doesn't work. The client is expecting an environment variable github.api.url so you need to put it like this in the application.yml micronaut:
# All your config...
github.api.url: https://api.github.com Moreover I confirm that adding the following environment variable Please try again to set the environment variable and try also the right application.yaml settings. Then, I will update sample config as well as the documentation |
Setting I went back to try the environment variable, and realized why it didn't work for me: it turns out "github.api.url" is not a valid variable name in the eyes of most tools. docker-compose just drops it silently (sigh...) and sh and bash both treat it as a syntax error. So while it may indeed work I was not able to test it. Thanks for the help. I'll leave the bug open in case you want to fix any of the issues that were found. |
In the latest
dev
version, when trying to use Github SSO, the following error happens:Internal Server Error: Could not resolve placeholder ${github.api.url}
Stack trace:
The text was updated successfully, but these errors were encountered: