I just tested again and it works for me. Not sure what I may be missing.
Maybe if you describe the steps you are taking from the beginning, we can
sort it out.
On Mon, Dec 9, 2019 at 4:06 PM Philippe ROUVRAY <prouvray(a)janua.fr> wrote:
Hi,
Keycloak was launched with -Dkeycloak.profile.feature.upload_scripts=enabled.
Authorizations have been successfully uploaded.
I had a closer look at Firefox web console (following Bruno's advice) and
all my calls from photoz-html5-client to photoz-restful-api end up with
code 403. For example :
http://localhost:8080/photoz-restful-api/album
POST & GET or
http://localhost:8080/photoz-restful-api/album/shares GET...
It explains the message : "You can not access or perform the requested
operation on this resource" I get.
Rgds,
Philippe
Le lun. 9 déc. 2019 à 19:18, Pedro Igor Silva <psilva(a)redhat.com> a
écrit :
> Hi,,
>
> Last week someone reported a similar issue. We figured out that the
> errors were due to the server not importing the authorization settings file
> because the `upload_scripts` feature is now disabled by default.
>
> Could you check if starting the server with the
`-Dkeycloak.profile.feature.upload_scripts=enabled`
> solves the issue?
>
> Regards.
> Pedro Igor
>
> On Mon, Dec 9, 2019 at 11:34 AM Philippe ROUVRAY <prouvray(a)janua.fr>
> wrote:
>
>> Hi,
>>
>> On Keycloak 8.0.1, I am not able to get the app-auth-photoz example
>> working.
>>
>>
https://github.com/keycloak/keycloak-quickstarts/tree/latest/app-authz-ph...
>>
>> I have followed the ReadMe instructions. Configurations were successful.
>>
>> When I login to
http://localhost:8080/photoz-html5-client as
>> alice/alice.
>> At the bottom of the page, I got the message : "You can not access or
>> perform the requested operation on this resource"
>>
>> On "My Profile" page, same message at the bottom. "Name" and
"Total of
>> albums" information are not set.
>>
>> On "Create an Album" page, I enter an album name and click Save. I got
>> the
>> message : "You can not access or perform the requested operation on this
>> resource".
>>
>> Nothing in the logs.
>>
>> Any help is welcome.
>>
>> Regards,
>>
>> Philippe Rouvray
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>>