Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Concurrent sessions: Key error on get_session_information #28

@ddiosono

Description

@ddiosono

Hello,
In a project I use the library oidcrp ver 0.6.3.
During the tests an exception is raised in case of concurrent sessions.

This is the test case:

rph.begin (1st user), state1 is saved
rph.begin (2nd user), state2 is saved
rph.get_session_information(state1) -> Key error is raised

The KeyError exception is raised because the state is not found in state db (state value is correct and state_db implemented as InMemoryStateDataBase).

Do you have any hint to share?

Thanks in advance

Regards,
Davide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions