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

Feature/conflit package #251

Closed
wants to merge 12 commits into from
Closed

Conversation

JimTools
Copy link
Contributor

making package conflict with tuupola/slim-jwt-auth and updating the documentation to make it explicitly clear have changes need to be made.

Removing the key id from when only one secret/algorithm is supplied
When only one algorithm is passed into the configuration but multiple secrets are provided the algorithm
array then needs to be manipulated into a key value store, using the key from the secrets list and the
algorithm being used for the value.

for example:
```
[
    'secret' => [
        'foo' => 'keepItSecret',
        'bar' => 'tooManySecrets',
    ],
    'algorithm' => [
        'HS256',
    ],
]
```

will become
```
[
    'secret' => [
        'foo' => 'keepItSecret',
        'bar' => 'tooManySecrets',
    ],
    'algorithm' => [
        'foo' => 'HS256',
        'bar' => 'HS256',
    ],
]
```
Updatig the readme to explain whe the KID is now needed when passing
when decodig the token also why the token need the KID to be set in the
header
Make the package conflict with `tuupola/slim-jwt-auth`
Pointing references to this repository
@JimTools JimTools closed this Feb 19, 2024
@JimTools JimTools deleted the feature/conflit-package branch February 19, 2024 13:50
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.

None yet

1 participant