authorizer
authorizer copied to clipboard
Fix session query to allow refreshing session via http header
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
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.