-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[docker-compose] Invalid parameter: redirect_uri #2003
Comments
Same error here. I think the env property APICURIO_UI_VALIDATION_CHANNELNAME_REGEXP could be removed, since it has a default value at the code StudioUiConfiguration.java#L129, but it seems this regex is slightly different from that located in .env file |
Sorry this GH issue slipped through unnoticed until today. The reason for invalid We'll need to try and reproduce locally. |
Thank you for your reply @EricWittmann. If any additional Screenshots or details are needed kindly let me know. |
@roy-mdsol do you mind sharing the environment variables configuration? |
#APICURIO VERSION #APICURIO VARIANT #HOSTNAME OR IP ADDRESS #KEYCLOAK KC_SQL_DATABASE=keycloak KEYCLOAK_USER=admin DB_VENDOR=postgres #MICROCKS MR_SPRING_PROFILES_ACTIVE=prod #APICURIO-STUDIO AS_DATABASE=apicuriodb APICURIO_KC_AUTH_URL=http://10.98.30.101:8090/auth APICURIO_DB_TYPE=postgresql9 API_APICURIO_DB_INITIALIZE=true APICURIO_MICROCKS_API_URL=http://10.98.30.101:8900/api APICURIO_GITHUB_API_URL= APICURIO_UI_KC_CLIENT_ID=apicurio-studio APICURIO_SHARE_FOR_EVERYONE=false APICURIO_UI_VALIDATION_CHANNELNAME_REGEXP='' |
Ok, your configuration should explain why you're getting invalid redirect errors. You're using 10.98.30.101 for your host but a different address is configured as the valid redirect direction. |
I'm sorry to bother you. Have you solved this problem? I have the same situation as you |
So my IP address keeps changing when I switch between my work and home network. But when I runt he server every time i cleanup old settings and run against the "current" IP. The discrepancy you see in IP addresses is because the snapshots are from 2 different points in time. in reality my redirect IP address and server IP address are the same. |
Same problem with me. The UI component returns a 302 with a location that has a redirect_uri variable with https. |
Yes. And I believe @jscheytt is right. The problem is with Mixed HTTP and HTTPS. |
Should we close this in light of #2040 ? |
Sure @EricWittmann. Thanks for tracking so far. |
Not fair responding to my question in less than 5 minutes after it took me 12 days to respond to yours. :) |
:) |
Hi
Thank you in advance for your help.
Issue Description:
Apicurio Redirect URL defaulted to
https
./distro/docker-compose not working as expected.
Environment:
OS: MacOS 12 (Intel)
Docker :
Engine: 20.10.17 | Compose: v2.10.2 | Credential Helper: v0.6.4 | Kubernetes: v1.25.0
Apicurio Strudio: /master 415a428
Steps:
Following instructions from
apicurio-studio/distro/docker-compose/Readme.md
docker run -v $(pwd):/apicurio chriske/apicurio-setup-image:latest bash /apicurio/setup.sh 192.168.43.187 postgresql
- Successful./start-postgresql-environment.sh
- Failedbypassed / addressed temporarily by setting
APICURIO_UI_VALIDATION_CHANNELNAME_REGEXP
in.env
file to*
[Reference: #1960 ]Partial Log updated (Due to character limit)
The text was updated successfully, but these errors were encountered: