Skip to content

Barrer token in OAuth2BearerPrincipalHeadersCallback exceeds the buffer limit in Tomcat during CONNECT #14

@akosbordas

Description

@akosbordas

We have tried to use this library with OAuth2 authentication. The OAuth2BearerPrincipalHeadersCallback puts the token correctly to the header, but when we try to use it on a Tomcat server it fails because the ByteBuffer has fixed size and the content is too long. See:
https://stackoverflow.com/questions/50352739/tomcat-websocket-bufferoverflowexception

Did you try it with Tomcat server or something else? Have you faced with similar issue? Is there any way to decrease the size of the token or use cookies instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions