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

"Resource not found..." after adding the Apple identity provider #20

Open
ArtemSkok-Leia opened this issue Jan 17, 2022 · 2 comments
Open

Comments

@ArtemSkok-Leia
Copy link

ArtemSkok-Leia commented Jan 17, 2022

Steps:

  1. Downloaded the keycloak-apple-social-identity-provider-1.0.2.jar
  2. Started the keycloack server (jar file).
  3. Added the module with jboss-cli:
module add --name=apple-social-identity-provider --resources=apple-social-identity-provider-1.0.2.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private
  1. Rgistered the provider with jboss-cli for standalone-ha.xml:
embed-server --server-config=standalone.xml --std-out=echo
batch
/subsystem=keycloak-server:list-add(name=providers,value=module:apple-social-identity-provider)
/subsystem=keycloak-server/spi=social/:add
/subsystem=keycloak-server/spi=social/provider=apple/:add(enabled=true)
run-batch
stop-embedded-server
  1. Rgistered the provider with jboss-cli for standalone.xml:
embed-server --server-config=standalone-ha.xml --std-out=echo
batch
/subsystem=keycloak-server:list-add(name=providers,value=module:apple-social-identity-provider)
/subsystem=keycloak-server/spi=social/:add
/subsystem=keycloak-server/spi=social/provider=apple/:add(enabled=true)
run-batch
stop-embedded-server
  1. Opened the keycloak admin panel, authorized, and went to the identity providers section
    image
  2. After clicking on the Apple option got redirected to the "Resource not found..." page
    image

image

@ArtemSkok-Leia
Copy link
Author

ArtemSkok-Leia commented Jan 18, 2022

By manually copying the resources files from pakcage src to jboss/keycloak/themes/base/admin/resources/partials it fixed the issue. But this step is not documented. Shouldn't it work without it?

@ducnv3
Copy link

ducnv3 commented Aug 24, 2022

By manually copying the resources files from pakcage src to jboss/keycloak/themes/base/admin/resources/partials it fixed the issue. But this step is not documented. Shouldn't it work without it?

Thanks, worked for me,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants