Skip to content

Bearer token authentication for REST and Websocket endpoints

Notifications You must be signed in to change notification settings

leki75/auth-request-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

REST

Any path except for /stream will result in an HTTP response containing the Bearer authorization content.

$ curl http://localhost:8080/rest
Authorization: Bearer GeneratedJWTTokenForPath:/rest

Streaming

The same for streaming:

$ websocat ws://localhost:8080/stream
Authorization: Bearer GeneratedJWTTokenForPath:/stream

About

Bearer token authentication for REST and Websocket endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages