SNS Subscription

0

I am working on a requirement to integrate 2 applications on 2 different cloud (AWS & Oracle). We are going to use Amazon SNS to send notification to Oracle Integration Cloud. I created the Topic in Amazon SNS, but struggling to subscribe to the topic from Oracle Integration (it supports Rest API calls). I aim to use HTTPS protocol for SNS to send notifications to Oracle Integration Cloud. The end point URL will work only with authentication (either basic authentication of Oauth 2.0). So, my question is : Is it possible to have an https endpoint with Authentication details included for AWS SNS subscription ? Any suggestions/guidance on this would be of great help.

posta 2 anni fa816 visualizzazioni
2 Risposte
1

Limited authentication is supported. See: https://docs.aws.amazon.com/sns/latest/dg/sns-http-https-endpoint-as-subscriber.html

You could use notification to a Lambda function to make a more complicated authentication call. You may want SQS in the middle to ensure delivery.

profile pictureAWS
con risposta 2 anni fa
  • Thank you very much for your quick response. I tried that basic authentication by passing username:password in the https endpoint, but that doesn't work. Is there any other way to obtain the Subscription URL, so I can manually subscribe to the topic ? Or any other alternative ?

0

If you can use basic auth then it's ok and you can subscribe using https://user:password@domain.com format as described here, the doc linked by Rodney Lester.

Oauth 2.0 is not supported.

profile picture
MG
con risposta 2 anni fa
  • Thank you very much for your quick response. I tried that basic authentication by passing username:password in the https endpoint, but that doesn't work. Is there any other way to obtain the Subscription URL, so I can manually subscribe to the topic ? Or any other alternative ?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande