Sign-in and authentication
The Sourcemark web application uses Firebase Authentication with a sign-in managed by the Firebase SDK that all tabs of the same browser share. Central sign-in uses the OAuth authorization code flow with PKCE. A random PKCE verifier and state are held temporarily in the sessionStorage of the tab in which sign-in started and consumed once on return. Authorised API requests send the current Firebase ID token in the Authorization header as a Bearer token; Sourcemark does not set sign-in or session cookies for this flow.
For limited delegated executions, Sourcemark stores Firebase ID tokens needed for a short time encrypted server-side with AES-256-GCM and only until the original token expires. Firebase refresh tokens are not stored or used server-side to extend these credentials. Each use checks token expiry and Firebase revocation as well as current workspace membership and permissions.
On sign-out, the Firebase SDK ends the sign-in in all tabs of this browser and removes the stored sign-in state; Sourcemark also requests server-side deletion of that account’s delegated credentials. If this request fails, an already stored delegated ID token may remain usable until it expires. Sourcemark does not store refresh tokens; local sign-out does not depend on successful server-side deletion.
Local browser storage
The application stores your selected language under “sourcemark-language” in localStorage so it remains selected on a later visit from the same browser. A non-secret signed-out marker and random generation value in localStorage invalidate pending sign-in work across tabs; they contain no authentication tokens. The application keeps the Firebase SDK sign-in state (user ID, Firebase ID token and refresh token) in this browser’s IndexedDB storage, or in localStorage as a fallback, so that the sign-in applies in all tabs and remains after the browser restarts. It stays stored until sign-out; there is no fixed expiry, because the Firebase SDK renews the short-lived ID token itself. The sign-in also ends when the refresh token is revoked (for example after a password change) or when you clear the site data in your browser. Temporary PKCE values are held in the sessionStorage of the tab in which sign-in started. Temporary billing flows also store limited operation identifiers and confirmed expiry times in sessionStorage. If you choose a plan on the pricing page and start registering, the application keeps the chosen plan and billing interval under “sourcemark.signup-intent” in that tab’s sessionStorage until the setup of your first workspace opens with it or you close the tab. These values are not advertising or analytics identifiers. Storing and reading these values is strictly necessary to provide the sign-in, language selection, registration and ordering you expressly request (section 25(2) no. 2 TDDDG); no consent is required for this. Where personal data are processed in doing so, the legal basis is Article 6(1)(b) or (f) GDPR.
Sourcemark does not use marketing or advertising tracking cookies. On the public pages and in the application under /app (not on legal texts and not on the online cancellation and withdrawal pages) we ask whether we may measure their use with PostHog; one choice applies to both areas in this browser. We store your choice under “sourcemark.analytics-consent” in localStorage for 180 days; this is necessary to respect your decision (section 25(2) no. 2 TDDDG). Only if you agree does PostHog store a pseudonymous identifier and its state in localStorage under “ph_<project key>_posthog” and “__ph_opt_in_out_<project key>” (section 25(1) TDDDG, consent); the measurement sets no cookies. Refusing is as easy as agreeing. Through “Cookie settings” at the bottom of every public page and in the application’s side menu you can change or withdraw your choice at any time; withdrawal deletes the PostHog entries. Details are in the privacy notice under “Optional usage analytics on the website and in the application”.
You can delete or block cookies and website data in your browser settings. This ends sign-in sessions and removes the saved language or temporary billing-flow values; necessary features may then be limited.
More documents
Questions? contact@bnder.net