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

Keycloak integration - 404 Client Error: Not Found for url - InvalidAudienceError #4883

Closed
thongnv opened this issue Nov 20, 2020 · 6 comments
Labels
question This is more a question for the support than an issue.

Comments

@thongnv
Copy link

thongnv commented Nov 20, 2020

I configured keycloak following guideline in https://github.com/python-social-auth/social-core/blob/master/social_core/backends/keycloak.py

Then I tried to login with keycloak, this error happens after I enter user credentials

image

the request GET /accounts/complete/keycloak/?redirect_state=p6JQuVAXZnbRAPBRLPyY4VMsyk2bGwTO&state=p6JQuVAXZnbRAPBRLPyY4VMsyk2bGwTO&session_state=1b35b8fa-4399-40cb-98a7-dc3ae3aff164&code=9f2d684c-e1b0-4b31-b880-21fb56780c87.1b35b8fa-4399-40cb-98a7-dc3ae3aff164.bc465b2b-c7e0-4f15-94d9-fcdaa5296564

returns code 500 (Internal Server Error)

Weblate version: 4.3.1

@nijel
Copy link
Member

nijel commented Nov 20, 2020

This seems to be Keycloak configuration issue, see SwissDataScienceCenter/renku-gateway#90 (comment)

@nijel nijel added the question This is more a question for the support than an issue. label Nov 20, 2020
@github-actions
Copy link

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!

@thongnv
Copy link
Author

thongnv commented Nov 20, 2020

should weblate handle the exception and give a better message?

@thongnv thongnv closed this as completed Nov 20, 2020
@github-actions
Copy link

The issue you have reported is resolved now. If you don’t feel it’s right, please follow it’s labels to get a clue and take further steps.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

@nijel
Copy link
Member

nijel commented Nov 20, 2020

@thongnv Patches are welcome :-). I don't have a Keycloak installation to test and debug this...

@nijel nijel changed the title Keycloak integration - 404 Client Error: Not Found for url Keycloak integration - 404 Client Error: Not Found for url - InvalidAudienceError Nov 20, 2020
@TafkaMax
Copy link

In the new version of keycloak - admin panel v2, the mappers have been located elsewhere.

Client scopes -> Create client scope -> (After creation of new scope) -> mappers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

3 participants