authorizer icon indicating copy to clipboard operation
authorizer copied to clipboard

Fix session query to allow refreshing session via http header

Open lakhansamani opened this issue 4 years ago • 1 comments

Version: 1.1.5

Describe the bug

Currently a new session is obtained via HTTP cookie only. For backend SDKs it should be allowed via HTTP header as well

Steps To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context

lakhansamani avatar Sep 15 '22 14:09 lakhansamani

The session query is deliberately limited to the browser session cookie, which it rotates on each call. Backends and SDKs should use the OAuth2 refresh flow instead: POST /oauth/token with grant_type=refresh_token (request offline_access / use_refresh_token to get a refresh token), then send the access token as Authorization: Bearer. Closing as working-as-intended.

lakhansamani avatar Nov 25 '26 07:11 lakhansamani