serverless-patterns icon indicating copy to clipboard operation
serverless-patterns copied to clipboard

adding auth0 to api dest examples

Open PurpleAmyr opened this issue 2 years ago • 7 comments

Issue #, if available:

Description of changes: adding Auth0 integration to examples for API Destinations

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

PurpleAmyr avatar Jan 08 '24 17:01 PurpleAmyr

@undefined your 'example-pattern.json' is missing some key fields, please review below and address any errors you have

  1. framework: framework is not one of enum values: CDK,SAM,Terraform,Serverless Framework,Terraform (with modules),Pulumi
  2. instance: instance requires property "authors"

If you need any help, take a look at the example-pattern file.

Make the changes, and push your changes back to this pull request. When all automated checks are successful, the Serverless DA team will process your pull request.

github-actions[bot] avatar Jan 09 '24 15:01 github-actions[bot]

Hi @PurpleAmyr - following up on this PR. The example-pattern.json file is invalid. Once corrected, I can move forward with reviewing.

ellisms avatar Feb 07 '24 20:02 ellisms

@PurpleAmyr I tried testing this and the rule fails to invoke. Can you take a look?

ellisms avatar Feb 29 '24 13:02 ellisms

Monitoring for a gaurdian approved pattern. @ellisms just let me know.

singledigit avatar Mar 04 '24 15:03 singledigit

@PurpleAmyr any updates on this?

singledigit avatar Mar 18 '24 20:03 singledigit

Hello! I was out for the last 2 weeks i apologize. @ellisms did you test it with the following code? (testEvent.Json) https://github.com/aws-samples/serverless-patterns/pull/2018/commits/55717bf7ceac145b8c3b161a7b40f71d6df73876#diff-63d67cd9abbac47667f94a5dbb602f2f360ba681c548fa2311c3f6ed690992bb When inputing it into the architecture through the console, the user appeared in the auth0 database.

PurpleAmyr avatar Mar 18 '24 20:03 PurpleAmyr

Hi @PurpleAmyr - yes, I ran aws events put-events --entries file://testEvent.json The EB rule has an invocation failure, and the error sent to the DLQ is: ApiDestination returned HTTP status 404 with payload: {"error":"connection not found"}  The connection has a status of Authorized in the console.

ellisms avatar Mar 19 '24 23:03 ellisms

Hey @ellisms and @PurpleAmyr if we can't get this resolved in the next week or so, let's close it.

singledigit avatar Apr 02 '24 22:04 singledigit