frontend client for gemstone. decentralised workplace app
1const __DEV__oAuthCallbackUrl = "http://127.0.0.1:8081/login/"; 2 3const oAuthScopes = ["atproto", "transition:generic"]; 4 5const oAuthScopesString = oAuthScopes 6 .reduce((prev, curr) => `${prev} ${curr}`) 7 .trim(); 8 9export const __DEV__loopbackOAuthMetadata = { 10 client_id: `http://localhost?redirect_uri=${encodeURIComponent(__DEV__oAuthCallbackUrl)}&scope=${encodeURIComponent(oAuthScopesString)}`, 11 redirect_uris: [__DEV__oAuthCallbackUrl], 12 scope: oAuthScopesString, 13 token_endpoint_auth_method: "none", 14 response_types: ["code"], 15 grant_types: ["authorization_code", "refresh_token"], 16 application_type: "native", 17 dpop_bound_access_tokens: true, 18 subject_type: "public", 19}; 20 21export const DEFAULT_STALE_TIME = 5 * 60 * 1000;