How to disable the login dialogue for added REST:

Hi Guys,

I recently added a new item to our Rich-Text editor by enhancing CKEditor.
I have written a REST API that accepts the image path added to the Rich-Text and enriches the IMG tag with metadata saved in the repository, such as the title and description.
However, there is a problem: our normal editors and external colleagues cannot use it because they do not have admin rights.

As we use the SAML security mechanism for our CMS users, **could you please tell me how I can call my REST from JavaScript without the login dialogue appearing?
**
Kind regards,
Mark Kaloukh - Freenet.ag

Here are some photos to clarify my problem better.

Hello, how did you configure/create the REST API?

Hi,
it has been implemented as part of CMS modules, like our other REST.
My rest will be call with a URL like http://localhost:8080/cms/ws/get-content/say-hello, but then I will be asked for username and password.

It looks like you are using the repository JAXRS service as I see the /ws in your REST endpoint URL. There is some documentation here on how you can modify the default authentication/authorization behaviour Repository JAX-RS Service - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS