Are you still seeing this with 6.1.0?

On Saturday, October 12, 2019 at 12:07:47 AM UTC+4, Robert Bond wrote:
>
> Getting an error when using a private git repo for cas service registry. 
> It works correctly if I remove the username and password config options are 
> use a public repo.
>
> Here is my config for the registry:
> cas.serviceRegistry.git.repositoryUrl=
> https://gitlab.example.edu/cas-service-registry.git
> cas.serviceRegistry.git.branchesToClone=dev
> cas.serviceRegistry.git.activeBranch=dev
> cas.serviceRegistry.git.username=asdf
> cas.serviceRegistry.git.password=asdf
> cas.serviceRegistry.git.cloneDirectory=file:/tmp/cas-service-registry
> cas.serviceRegistry.git.pushChanges=false
>
>
> And here is the error I am getting:
> 2019-10-11 19:03:29,837 ERROR 
> [org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler] - 
> <Unexpected error occurred in scheduled task>
> org.eclipse.jgit.api.errors.TransportException: 
> https://gitlab.example.edu/cas-service-registry.git: Authentication is 
> required but no CredentialsProvider has been registered
>
> Any thoughts?
>
> I used our internal gitlab and tried using a github account also, tested 
> the credentials are working.
>
> I tried looking at the cas code for the gitServiceRegistry and it seems 
> like it has the options for specifying a username and password. 
>
> Attached full log output also.
>
> Thanks!
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/811d628a-9011-4037-946e-b74c5e3bb74e%40apereo.org.

Reply via email to