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

How to trigger Refresh request from browser ? #88

Closed
Jxck opened this issue Jan 8, 2025 · 3 comments
Closed

How to trigger Refresh request from browser ? #88

Jxck opened this issue Jan 8, 2025 · 3 comments

Comments

@Jxck
Copy link

Jxck commented Jan 8, 2025

Hi Team

I'm digging current implementation behavior based on your prototype server.
https://glitch.com/edit/#!/dbsc-prototype-server

IIUC

  • Server Responds Sec-Session-Registration and Set-Cookie: id=abc; Max-Age=10
  • Browser Requests Sec-Session-Response w/ JWT which has refresh_url: refresh

10 sec later

  • Browser requests to the server path which included in scope
  • Browser detects id=abc Cookie was expired
  • Browser Requests to /refresh w/ Sec-Session-Id internally

But, Browser internal request to /refresh doesn't happen.

What I missed here ?

@drubery
Copy link
Collaborator

drubery commented Jan 15, 2025

Hello,

Confirming I can reproduce the issues with the Glitch server. Among other issues, refresh was not fully implemented. I'll follow up here once I can actually perform a refresh with the Glitch server.

@Jxck
Copy link
Author

Jxck commented Jan 15, 2025

@drubery Thanks !!
I'm really interested in this API, Please keep in touch.

@drubery
Copy link
Collaborator

drubery commented Jan 31, 2025

As of last night, the Glitch server successfully issues a challenge at registration and refresh, and Chrome versions 134.0.6988.0 (the newest Canary) does persist the registration.

Let me know if you have any more trouble.

@drubery drubery closed this as completed Jan 31, 2025
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

No branches or pull requests

2 participants