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.

已提問 2 年前檢視次數 798 次
2 個答案
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
已回答 2 年前
  • 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
已回答 2 年前
  • 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 ?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南