Skip to content

Subscribe to blacklisted token events stream #5

Description

@juanmbellini

The User Service will stream the token blacklisted event. This service must be subscribed to it, so when a token is blacklisted, its is is stored in a local database. This database is then consulted by the BearerTokenAuthenticationManager through the BearerTokenAuthenticationManager#isInvalid(UUID) to determine if a token is allowed to be used or not.

Check the following permalink:

.filterWhen(token -> invalidTokenChecker.isInvalid(token.getTokenId()).map(flag -> !flag))

Depends on coding-eval-platform/users-service#19

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions