Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Correctly normalize parameters for oAuth authentication #32

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

IchHabRecht
Copy link

Currently oAuth authenfication for nested arrays is broken as those
information is not decoded like the clients encode the information.
Nested array handling is not covered at all.
This patch simplifies the normalization handling and processes
nested arrays in a proper way. Unfortunately oAuth documentation
fails to give some expectations on how to normalize nested array
information correctly, so each dimension is sorted on its own.

Currently oAuth authenfication for nested arrays is broken as those
information is not decoded like the clients encode the information.
Nested array handling is not covered at all.
This patch simplifies the normalization handling and processes
nested arrays in a proper way. Unfortunately oAuth documentation
fails to give some expectations on how to normalize nested array
information correctly, so each dimension is sorted on its own.
@IchHabRecht
Copy link
Author

Fixes: #31

Numeric arrays have 0 as key that is transferred as parent key and
should be taken into account correctly.
Normalization should not care about empty values.
We need to make sure that numeric arrays are replaced instead of
being merged.
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant