Skip to content
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 #49

Closed
alirizaaribas-ibg opened this issue Apr 20, 2022 · 5 comments · Fixed by #50
Closed

Invalid parameter: redirect_uri #49

alirizaaribas-ibg opened this issue Apr 20, 2022 · 5 comments · Fixed by #50
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@alirizaaribas-ibg
Copy link

Describe the bug
When accessing graphkb_client latest version, page redirects(to this link) and show an error. 10.100.120.219 is our server internal ip address.

Invalid parameter: redirect_uri
image

I wanted to put graphkb(latest) on production.

To Reproduce
Steps to reproduce the behaviour:

  1. Run command docker-compose -f custom_docker.yml up -d
  2. Access grapkb_client at http://10.100.120.219:5000/
  3. Page shows error

here is my custom_docker.yml:
custom_docker.txt

Expected behaviour
Graphkb login screen should be visible.

Versions (please complete the following information):

  • OS: centos 7
  • NodeJS: 16.14.2
  • Version: latest
  • OrientDB Version: 3.0

Additional context
I don't use HTTPS. My first aim is to run PORI without any error. Then I hope to use HTTPS.

@alirizaaribas-ibg alirizaaribas-ibg added the bug Something isn't working label Apr 20, 2022
@creisle
Copy link
Member

creisle commented Apr 20, 2022

@alirizaaribas-ibg keycloak by default has only set up valid redirect URLs to localhost. Since you are specifying a different hostname here "10.100.120.219" you will need to log in to the administrative console of keycloak and add it to the list of valid redirects. Keycloak will have been started with the other docker services and should be available via a web browser on port 8888 (https://github.com/bcgsc/pori/blob/master/docker-compose.dev.yml#L15).

@creisle creisle added documentation Improvements or additions to documentation and removed bug Something isn't working labels Apr 20, 2022
@creisle creisle transferred this issue from bcgsc/pori_graphkb_client Apr 20, 2022
@creisle creisle self-assigned this Apr 20, 2022
@creisle
Copy link
Member

creisle commented Apr 20, 2022

I have moved this issue to the main repo and added a documentation label as I will add instructions on how to do this to the main documentation as well as here to help future users encountering the same issue

@alirizaaribas-ibg
Copy link
Author

@creisle Thank you. Now it works well.

@creisle
Copy link
Member

creisle commented Apr 21, 2022

@alirizaaribas-ibg did this also resolve your comment on bcgsc/pori_graphkb_loader#70 (comment) or is that still outstanding?

@alirizaaribas-ibg
Copy link
Author

@creisle resolved. Thank you for your attention.

@creisle creisle linked a pull request Apr 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants