[keycloak-user] CORS Setup

Ben bensechrist at gmail.com
Thu May 8 09:10:25 EDT 2014


On an unrelated note I am making my request to
/auth/rest/realms/myRealm/account using jquery's ajax method. This is
because I tried using the keycloak.js from /auth/js/keycloak.js but I get a
realm missing error even with the keycloak.json being the following:

{
  "realm": "Sechrist Blog",
  "realm-public-key":
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArqtGy/VqwnQnqrlmX8F3qjIf3/lM4NtytuWOsJqR/gpMqrHMEHK5Yf44rZT7lokO5VIJzW0+Jii11NU2+sQlwviiBHM+Kr2wBzJW3gCkYpAv6DrgkxbBoNExqa2LNiFvuL1fWscrkCbPsCwUSSjgjY1DO02PmIne/gE9dgD+BGbMuOniwSpkLE4CP1dG+0RupR1bxTU/17Xhr5c77VCIKT8ojxCnNCpSC5XrqDnkNqY8Ok175Iz3IOPt99Mxre8ayZosxXVJhatLoDdOGmoNtHScgmaNMP/gMNvon/pkvZYPBzEufB4fhTws2Yvi5fbShgrKumVyG1+Z5VqvqIA4BQIDAQAB",
  "auth-server-url": "https://dev.sechristfamily.com:9080/auth",
  "ssl-not-required": true,
  "resource": "Blog",
  "credentials": {
    "secret": "mSecret"
  }
}


On Wed, May 7, 2014 at 6:54 PM, Bill Burke <bburke at redhat.com> wrote:

> I need more information.  Setup? Config? Version? Stack traces?  Error
> message?
>
> On 5/7/2014 5:12 PM, Ben wrote:
> > I am trying to get user information from a keycloak instance running on
> > a separate server. However I am getting an error when I try to retrieve
> > this info. Interestingly I can use a Google chrome app to get the
> > information no problem. Ideas?
> >
> >
> >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140508/f30bb73c/attachment-0001.html 


More information about the keycloak-user mailing list