We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Admin
1 parent 3b4a20e commit 709c8ccCopy full SHA for 709c8cc
src/client.js
@@ -26,12 +26,16 @@ class StitchClient {
26
if (options && options.baseUrl) {
27
baseUrl = options.baseUrl;
28
}
29
+
30
this.appUrl = `${baseUrl}/api/public/v1.0`;
31
this.authUrl = `${baseUrl}/api/public/v1.0/auth`;
32
+ this.profileUrl = `${baseUrl}/api/public/v1.0/auth/me`;
33
if (clientAppID) {
34
this.appUrl = `${baseUrl}/api/client/v1.0/app/${clientAppID}`;
35
this.authUrl = `${this.appUrl}/auth`;
36
+ this.profileUrl = `${this.appUrl}/auth/me`;
37
38
39
this.authManager = new Auth(this.authUrl);
40
this.authManager.handleRedirect();
41
this.authManager.handleCookie();
0 commit comments