dunglas / mercure

🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications
https://mercure.rocks
GNU Affero General Public License v3.0
3.83k stars 278 forks source link

demo chat fails with 401 #896

Closed simonbuehler closed 1 month ago

simonbuehler commented 2 months ago

hi, just wanted to try out but i get a 401 for the call:

GET /.well-known/mercure/subscriptions/https%3A%2F%2Fchat.example.com%2Fmessages%2F%7Bid%7D HTTP/2
Host: demo.mercure.rocks
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Referer: https://demo-chat.mercure.rocks/
Origin: https://demo-chat.mercure.rocks
Connection: keep-alive
Cookie: mercureAuthorization=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZXJjdXJlIjp7InN1YnNjcmliZSI6WyJodHRwczovL2NoYXQuZXhhbXBsZS5jb20vbWVzc2FnZXMve2lkfSIsIi8ud2VsbC1rbm93bi9tZXJjdXJlL3N1YnNjcmlwdGlvbnMve3RvcGljfXsvc3Vic2NyaWJlcn0iXSwicHVibGlzaCI6WyJodHRwczovL2NoYXQuZXhhbXBsZS5jb20vbWVzc2FnZXMve2lkfSJdLCJwYXlsb2FkIjp7InVzZXJuYW1lIjoiYXNkIn19fQ.0GCSMfzVYzPhNW7y2ww9iLTw7oe26-iyZXgT6DTokeM
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
Pragma: no-cache
Cache-Control: no-cache

Unauthorized
dunglas commented 1 month ago

Fixed!