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

feat: expiration by seconds #484

Closed

Conversation

aditbisa
Copy link

The only use case that I can think for this feature (other than for my interview code challenge) is:

  • REST API app:
    • That means stateless.
    • Auth using bearer token only.
  • And backend need to provide a broadcast endpoint for Websocket / EventSource (SSE):
    • Web API for Websocket / EventSource (SSE) cannot send custom headers.
    • As it is stateless, cookies & session is out of options.
    • The only option is token send as URL query.
  • And token for Websocket / EventSource (SSE):
    • One time only.
    • Short lived (< 10 seconds)

@aditbisa aditbisa changed the base branch from 3.x to master December 10, 2023 19:14
@aditbisa
Copy link
Author

Need help with failing tests. The error came from outside my changes. I'm not sure where to look at.

@RahulDey12
Copy link
Contributor

Need help with failing tests. The error came from outside my changes. I'm not sure where to look at.

Bro, Why did you forked the repo from master you should have use the branch 3.x

@aditbisa
Copy link
Author

Ah.. My reflex kicks in when creating branch. Thank you. Will redo.

@aditbisa aditbisa closed this Dec 10, 2023
@aditbisa aditbisa deleted the feature/expiration-by-seconds branch December 10, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants