File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const getOauthUrl = () => {
60
60
61
61
const oauthUrl =
62
62
appId && serverUrl
63
- ? `https://${ serverUrl } /oauth2/authorize?app_id=${ appId } &l=${ lang ?? 'EN' } && brand=deriv`
63
+ ? `https://${ serverUrl } /oauth2/authorize?app_id=${ appId } &l=${ lang ?? 'EN' } &brand=deriv`
64
64
: URLUtils . getOauthURL ( ) ;
65
65
66
66
return oauthUrl ;
Original file line number Diff line number Diff line change @@ -131,7 +131,11 @@ export const requestOidcAuthentication = async (options: RequestOidcAuthenticati
131
131
postLogoutRedirectUri,
132
132
} ) ;
133
133
134
- await userManager . signinRedirect ( ) ;
134
+ await userManager . signinRedirect ( {
135
+ extraQueryParams : {
136
+ brand : "deriv"
137
+ } ,
138
+ } ) ;
135
139
return { userManager } ;
136
140
} catch ( error ) {
137
141
console . error ( 'Authentication failed:' , error ) ;
You can’t perform that action at this time.
0 commit comments