Where can I find more information about services and his fields?  Because
in some examples puts:

"serviceId" : "^(https|imaps)://hello.*",


But I don't know if that is a regex, or a bad example I don't understand it
well.

The problem that I'm facing is that I'm getting this error:

Unauthorized Service Access. Service [http://localhost:9999/client/login]
is not found in service registry.

This is my json

{
  "@class" : "org.apereo.cas.support.oauth.services.OAuthRegisteredService",
  "clientId": "acme",
  "clientSecret": "acmesecret",
  "bypassApprovalPrompt": false,
  "serviceId" : "http://localhost:9999/client/login";,
  "name" : "HTTPS and IMAPS",
  "id" : 1
}

Thanks


On Thu, Feb 9, 2017 at 4:13 PM, mrcasa bengaluru <[email protected]>
wrote:

> You can control the location of service registry json files by using this
> propery in cas.properties
>
> cas.serviceRegistry.config.location=file:/etc/cas/config
>
> Here is the naming recommendation deom the docs -
>
> The naming convention for new JSON files is recommended to be the
> following:
>
> JSON fileName = serviceName + "-" + serviceNumericId + ".json"
>
>
> On Thu, Feb 9, 2017 at 5:33 PM, Alvaro <[email protected]> wrote:
>
>> Thanks. That must be on the documentation because right now is missing
>>
>> The name does not matter right?
>>
>> Thanks again.
>>
>> On Thu, Feb 9, 2017 at 1:01 PM, mrcasa bengaluru <[email protected]>
>> wrote:
>>
>>> 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/M
>>>> ailing-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/ap
>>>> ereo.org/d/msgid/cas-user/c8ec3266-1f7a-4782-878b-c133569898
>>>> a9%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/M
>>> ailing-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 a topic in the
>>> Google Groups "CAS Community" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/a/ap
>>> ereo.org/d/topic/cas-user/0Eg2rvGOEOU/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit https://groups.google.com/a/ap
>>> ereo.org/d/msgid/cas-user/CALpZ%2BOQTbzMv7aBn1Ou7mY6dFA31tRs
>>> G1OfO27HRk1NyFs5TcQ%40mail.gmail.com
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALpZ%2BOQTbzMv7aBn1Ou7mY6dFA31tRsG1OfO27HRk1NyFs5TcQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>> --
>> - CAS gitter chatroom: https://gitter.im/apereo/cas
>> - CAS mailing list guidelines: https://apereo.github.io/cas/M
>> ailing-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/ap
>> ereo.org/d/msgid/cas-user/CAA%2Bkr1Y%3DqS73TVyP8krdPRtS0F8-Z
>> sWpwO43Fas1Ci8aZhQHdg%40mail.gmail.com
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAA%2Bkr1Y%3DqS73TVyP8krdPRtS0F8-ZsWpwO43Fas1Ci8aZhQHdg%40mail.gmail.com?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 a topic in the
> Google Groups "CAS Community" group.
> To unsubscribe from this topic, visit https://groups.google.com/a/
> apereo.org/d/topic/cas-user/0Eg2rvGOEOU/unsubscribe.
> To unsubscribe from this group and all its topics, 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%2BOQFH8K2t9mQ_nrOgnktuubA_0G%
> 2Br9Qniwp8y6n0AykPJw%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALpZ%2BOQFH8K2t9mQ_nrOgnktuubA_0G%2Br9Qniwp8y6n0AykPJw%40mail.gmail.com?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/CAA%2Bkr1bB%2BHNac-Hjv%3Dpr9qvPTtN8LqRkVZLHS7cgP3kn%2BmfCZw%40mail.gmail.com.

Reply via email to