Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
add option to pass attributes to unauthorized replies #46
This addition allows someone to optionally specify an attributes object to pass to Boom.unauthorized.
Some backstory: AWS SNS allows subscriptions from HTTPS endpoints with basic authentication. Their confirmation flow involves an initial unauthenticated request to the endpoint followed by an authenticated request. I wasn't receiving the second authenticated request because the
Thanks for the contribution. Looks good apart from those couple of comments. Part of me wonders though if this will ever be used for anything apart from setting the