Use RESTAPI as anonymous User

Please complete the details below then remove this line:


Domino 14.5.1FP1

RESTAPI V1.1.7
Rocky Linux 10.2


Problem/Query:

We have developed a web formular for ‘everyone’ in an independant plattform (not Domino). Goal is, to send this data as anonymous user via REST API to the Domino server as new document.

But it’s not possible to do this, because REST needs authentication to get the bearer.

What is the best way to solve this problem ?

In classic Notesform it is possible to generate new documents as anonymous user (if allowed).

Thank you

Brian

Specifically, DRAPI needs a valid token for a given name to access it. One tack you could take would be to configure DRAPI to trust a pre-shared signer keypair as in the part on this page with the text “the public key and issuer information can be added to the configuration directly”: Auth* - HCL Domino REST API Documentation . The idea there is that you have a server component of your other app generate a JWT for a specific name (for example, a purpose-made service account on Domino), sign it with this keypair, and then use that when accessing DRAPI. Giving it a service account name and not Anonymous would add a bit more security finesse to it.