[keycloak-user] CORS Setup

Ben bensechrist at gmail.com
Thu May 8 14:29:49 EDT 2014


I tried building from master so I updated from alpha 4 to beta 1. That
worked fine but I still get the same error. I tried using the keycloak.js
from the server and just a simple ajax using jquery on the page.


On Thu, May 8, 2014 at 12:16 PM, Stian Thorgersen <stian at redhat.com> wrote:

> Can you try building the server from master, and see if that works? The JS
> adapter has been updated and the documentation for it as well.
>
> ----- Original Message -----
> > From: "Ben" <bensechrist at gmail.com>
> > To: "Bill Burke" <bburke at redhat.com>
> > Cc: keycloak-user at lists.jboss.org
> > Sent: Thursday, 8 May, 2014 2:10:25 PM
> > Subject: Re: [keycloak-user] CORS Setup
> >
> > 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
> >
> >
> > _______________________________________________
> > 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/4a8db096/attachment.html 


More information about the keycloak-user mailing list