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.

demandé il y a 2 ans802 vues
2 réponses
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
répondu il y a 2 ans
  • 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
répondu il y a 2 ans
  • 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 ?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions