Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding auth0 to api dest examples #2018

Closed

Conversation

PurpleAmyr
Copy link

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.

Copy link

github-actions bot commented Jan 9, 2024

@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.

@ellisms
Copy link
Contributor

ellisms commented Feb 7, 2024

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

Fixed Auth0 example number.
SAM expects template.yaml in the root directory
@ellisms
Copy link
Contributor

ellisms commented Feb 29, 2024

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

@singledigit
Copy link
Contributor

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

@singledigit
Copy link
Contributor

@PurpleAmyr any updates on this?

@PurpleAmyr
Copy link
Author

Hello! I was out for the last 2 weeks i apologize.
@ellisms did you test it with the following code? (testEvent.Json)
55717bf#diff-63d67cd9abbac47667f94a5dbb602f2f360ba681c548fa2311c3f6ed690992bb
When inputing it into the architecture through the console, the user appeared in the auth0 database.

@ellisms
Copy link
Contributor

ellisms commented Mar 19, 2024

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.

@singledigit
Copy link
Contributor

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

@ellisms ellisms closed this Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants