Skip to content

Commit 9472668

Browse files
committed
fix: use correct realm
1 parent 1c3f7c6 commit 9472668

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

packages/ally-solvro-auth/src/driver.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,10 @@ export class SolvroAuthDriver
130130

131131
this.config = config;
132132

133-
if (process.env.NODE_ENV === "development") {
134-
this.config.realm = this.config.realm || "myrealm";
135-
}
136-
137-
if (process.env.NODE_ENV === "production") {
138-
this.config.realm = this.config.realm || "solvro";
133+
this.config.realm = this.config.realm || "solvro";
139134

140-
this.config.solvroAuthUrl =
141-
this.config.solvroAuthUrl || "https://auth.s.solvro.com";
142-
}
135+
this.config.solvroAuthUrl =
136+
this.config.solvroAuthUrl || "https://auth.s.solvro.com";
143137

144138
if (this.config.solvroAuthUrl) {
145139
this.authorizeUrl = this.buildSolvroAuthUrl("auth");

0 commit comments

Comments
 (0)