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

doc: Fix customAuthenticationProvider documentation #1683

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

petetnt
Copy link
Contributor

@petetnt petetnt commented Apr 17, 2023

Description

This PR fixes the description for enabling custom authentication providers in serverless.yml files. In addition to using the correct keys, I added an usage example and direct linked the referenced integration test example.

Related to #1311

Motivation and Context

The documentation was wrong and hard to follow. Correct solution was pointed out in #1311 (comment) by @rion18.

How Has This Been Tested?

Implemented the custom provider in my own project. Additionally I tested that the key serverless-offline and authenticationProvider mentioned in the README are no-ops and that the implementation in https://github.com/dherault/serverless-offline/tree/master/tests/integration/custom-authentication is in fact correct.

This PR fixes the description for enabling custom authentication providers in serverless.yml files. In addition to using the correct keys, I added an usage example and direct linked the referenced integration test example.

Related to dherault#1311
@dnalborczyk
Copy link
Collaborator

thank you @petetnt

@dnalborczyk dnalborczyk merged commit b9c0b58 into dherault:master Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants