Skip to content

Instantly share code, notes, and snippets.

View nelson777's full-sized avatar

Nelson Teixeira nelson777

View GitHub Profile
Disclaimer: this a debug dump I used in this question in Stackoverflow: https://stackoverflow.com/questions/68915085/refresh-token-not-being-updated-using-keycloak-angular-library
All the tokens and sensitive data is altered to be invalid. Please leave the post so users can examine it.
Navigated to https://myapp.mydomain.com/
Build: 205
Navigated to https://myapp.mydomain.com/
Build: 205
[KEYCLOAK] Estimated time difference between browser and server is 0 seconds
[KEYCLOAK] Token expires in 300 s
In this challenge, write an http server that uses a through stream to write back
the request stream as upper-cased response data for POST requests.
Streams aren't just for text files and stdin/stdout. Did you know that http
request and response objects from node core's `http.createServer()` handler are
also streams?
For example, we can stream a file to the response object:
var http = require('http');