Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant