Skip to content

Get Idenitty claims from Authorizer if Authorizer.Claims is null or empty #409

Merged
normj merged 2 commits intoaws:masterfrom
LUS1N:master
Mar 8, 2019
Merged

Get Idenitty claims from Authorizer if Authorizer.Claims is null or empty #409
normj merged 2 commits intoaws:masterfrom
LUS1N:master

Conversation

@LUS1N
Copy link
Copy Markdown
Contributor

@LUS1N LUS1N commented Mar 5, 2019

Issue #408

Description of changes:
If Authorizer.Claims is null or contains no claims, parse the claims from Authorizer, because that is how the claims are returned from the custom lambda authorizer.

Made sure the exist test passes, and made a new one with the custom lambda authorizer input.

My formatter formatted the files, I hope it's ok.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@normj
Copy link
Copy Markdown
Member

normj commented Mar 8, 2019

Thanks for the PR. I pushed out version 3.0.3 of Amazon.Lambda.AspNetCoreServer which has this change.

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