Add the json to /etc/cas/config Each OAuth service must have a json of its own. Update the json with service specific details
On Thu, Feb 9, 2017 at 4:02 PM, Alvaro S. <[email protected]> wrote: > Hi, I'm trying to add som clients to my config, the documentation states > this: > > Every OAuth client must be defined as a CAS service (notice the new >> *clientId* and *clientSecret* properties, specific to OAuth) > > > And shows this json > > { > "@class" : "org.apereo.cas.support.oauth.services.OAuthRegisteredService", > "clientId": "clientid", > "clientSecret": "clientSecret", > "bypassApprovalPrompt": false, > "serviceId" : "^(https|imaps)://hello.*", > "name" : "HTTPS and IMAPS", > "id" : 10000001 > > } > > But where I have to put this?? > > I'm using a maven overlay > > -- > - CAS gitter chatroom: https://gitter.im/apereo/cas > - CAS mailing list guidelines: https://apereo.github.io/cas/ > Mailing-Lists.html > - CAS documentation website: https://apereo.github.io/cas > - CAS project website: https://github.com/apereo/cas > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/a/ > apereo.org/d/msgid/cas-user/c8ec3266-1f7a-4782-878b- > c133569898a9%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/c8ec3266-1f7a-4782-878b-c133569898a9%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALpZ%2BOQTbzMv7aBn1Ou7mY6dFA31tRsG1OfO27HRk1NyFs5TcQ%40mail.gmail.com.
