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.

asked a year ago180 views
2 Answers
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 picture
answered a year ago
  • 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
answered a year ago
  • 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 ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions