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

add the ability to set the JWS aud per site_id #1545

Merged
merged 1 commit into from
Jan 10, 2023
Merged

Conversation

paskal
Copy link
Collaborator

@paskal paskal commented Dec 3, 2022

Without this option, the aud is ignored.
It works only with RPC admin storage.

The shared key returned for all requests with the default shared admin storage, so enabling that option does not affect it.

Resolves #1519, cc @daniloarcidiacono.

I think the better alternative would be enabling it for everyone, as it doesn't affect the behaviour of the shared storage and changes the calls to RPC admin storage (previously, it was called with aud=="ignore") but makes things more predictable for RPC storage implementer out of the box.

@paskal paskal added the backend label Dec 3, 2022
@paskal paskal added this to the v1.11.2 milestone Dec 3, 2022
@paskal paskal requested a review from umputun as a code owner December 3, 2022 12:34
@paskal paskal modified the milestones: v1.11.2, v1.11.3, v1.12.0 Jan 3, 2023
Without this option, the aud is ignored.
It works only with RPC admin storage.

The shared key returned for all requests with the default shared admin
storage, so enabling that option does not affect it.
@umputun umputun merged commit 41a3359 into master Jan 10, 2023
@umputun umputun deleted the paskal/aud_per_site branch January 10, 2023 17:24
@paskal paskal modified the milestones: v1.12.0, v1.11.3 Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong siteId "ignore" used when logging in
2 participants