Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't treat numbers larger than the JS max number size as number valu…
…es in environment variables (directus#6119) * Incorrect parsing of numeric values in env. * Fixes incorrect parsing of the env. file with numeric values that are outside of Number.MAX_SAFE_INTEGER resulting in unwanted behaviour. - Like wrong client_ids for oauth. (tested with discord oauth) * Removed unnecessary multiple "IF" statements since value can only be ether one of the listed values. * Implements custom_param for OAUTH via grant According to grants documentation you can provide additionally custom parameters to supported OAUTH provider with ```custom_params```. This change allows to add them in JSON format and thus adding multiple parameters. * Fix linter warnings, remove JSON support in favor of nested Grant support Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
- Loading branch information