-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hello,
I have had issues with the fetching of the access token and the userinfo object in the cb-basic.html. I was prompted with a basic authentication form due to a 401 reply from OpenAM. Apperently I had to add the realm as a GET parameter. Next I had issues in fetching the userinfo object. Adding the realm to this ajax call resolved the issue as well.
I have tried this code before when testing with OpenAM12 and then it worked like a charm. However, on OpenAM12.0.2 I need the realm to be added for everything to work.
So the codechanges were quite simple:
url: server + openam + access + "?" + encodeQueryData({ "realm": client_realm })
and
url: server + openam + info + "?" + encodeQueryData({ "realm": client_realm }),
It would take a lot more effort to do a pull request and push my changes. So for this simple issue I think that is overkill.
Kind regards,
Roel