-
Notifications
You must be signed in to change notification settings - Fork 351
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
Invalid parameter: redirect_uri #1278
Comments
Hi @volkflo, |
You have to access keycloak UI from inside your VM: |
@volkflo I have configured the DevPortal client but I am getting CORS error when I try to login the devportal. |
Hi @volkflo, view-profile and manage-account was not assigned to admin. I have added them and the CORS error for account has been resolved and able to login to DevPortal. But now I am facing CORS for gateway and unable to see public APIs here. |
Can you please check your configs again? :) |
@volkflo which configs I need to check? Also, I access APIMan through VM-IP:Port/apimanui |
Can you check if your # Set cross origin for the manager; *=any, comma separated names
apiman-manager-ui.allowed-cors-origins=* |
Hi @volkflo, yes
However it is not present in this file |
You can set this as well in the tomcat apiman.properties. |
You just have to restart the application server I am currently not sure why you getting this weird CORS error anymore. |
I cannot reproduce this bahavior right now. Till the CORS problem is not fixed the Browser is not able to create a Developer. |
I have attached container logs/errors of apimanDevPortal, that may be helpful to figure out the problem. |
Thanks for the logs. I was a little bit confused because I thought you are using tomcat. So the config files in the repository (like the one you send to me) are just examples. But the actual errors are indicating that you now have the wrong/miss-configured database for apiman right now. Please have a look at your current apiman.properties if you have uncommetted the jpa setting if you do not use them. The errors in the browser are currently a bit misleading because. But in the logs we can see that the request made it to the manager but there is no response because of the error in the manager. |
It looks like you are editing the source files in the repository and not the config file from the running application server (wildfly). $ mvn clean install -Pinstall-all-wildfly
$ cd tools/server-all/target/wildfly-dev-server
$ ./bin/standalone.sh In |
I ran the following commands. I was getting some test errors, so I added skipTests parameter.
I could find the apiman.properties on the following path. I have also attached the file. |
@volkflo any update? |
Not sure what your issue is, to be honest. We'll be cutting a release soon, so it might be worth waiting for that? |
Make sure you have a running elasticsearch somewhere, for example:
And use the following properties file: Please let us know if this is working :) |
Great to hear that it is finally working for you :) |
Yes that will be helpful. Cheers. |
Hi, I have cloned the master branch and trying to setup APIMan and DevPortal on VM by exposing the port of VM and accessing it from the browser of my local machine using VM-IP:PORT.
I have run the following commands so far:
mvn clean install -Pinstall-all-wildfly -DskipTests
cd tools/server-all/target/wildfly-dev-server
./bin/standalone.sh
After pointing to browser with VM-IP:Port/apimanui I am getting the following output:
Any leads will be helpful. Thanks
The text was updated successfully, but these errors were encountered: