BenjaminFavre / keycloak-apple-social-identity-provider

Apple Social Identity Provider for Keycloak
Apache License 2.0
108 stars 53 forks source link

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

Open ArtemSkok-Leia opened 2 years ago

ArtemSkok-Leia commented 2 years ago

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
  4. 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
  5. 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
  6. Opened the keycloak admin panel, authorized, and went to the identity providers section image
  7. After clicking on the Apple option got redirected to the "Resource not found..." page image

image

ArtemSkok-Leia commented 2 years ago

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 commented 1 year ago

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,