Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit a019b60

Browse files
committed
Added brand to ws
1 parent 520cf79 commit a019b60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/appId.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ export const getWebSocketURL = () => `wss://${getServerAddressFallback()}/websoc
9696
export const generateWebSocketURL = serverUrl => `wss://${serverUrl}/websockets/v3`;
9797

9898
export const getOAuthURL = () =>
99-
`https://${generateOAuthDomain()}/oauth2/authorize?app_id=${getAppIdFallback()}&l=${getLanguage().toUpperCase()}`;
99+
`https://${generateOAuthDomain()}/oauth2/authorize?app_id=${getAppIdFallback()}&l=${getLanguage().toUpperCase()}&brand=binary`;
100100

101101
export const getOAuthURLDeriv = () =>
102-
`https://oauth.deriv.com/oauth2/authorize?app_id=31665&l=${getLanguage().toUpperCase()}`;
102+
`https://oauth.deriv.com/oauth2/authorize?app_id=31665&l=${getLanguage().toUpperCase()}&brand=deriv`;
103103

104104
// 19111
105105

0 commit comments

Comments
 (0)