Running the Client
To run the Angular WIDE client locally, run ng serve
and the WIDE client should load on the appropriate port, http://localhost:4200
by default;
Environment Variables
The WIDE client's configuration follows standard Angular practices and may be found in the environments\environment.ts
export const environment = {
production: true,
wideServerApiUrl: 'https://api.wid3.app',
wideDomain: 'https://wid3.app',
googleOAuth: {
clientId: '<Google OAuth Client Id>',
redirectUri: 'https://wid3.app/credentials/oauth/redirect/google'
},
discordOAuth: {
clientId: '<Discord OAuth Client Id>',
redirectUri: 'https://wid3.app/credentials/oauth/redirect/discord',
},
microsoftOAuth: {
msalConfig : {
auth: {
clientId: '<MSAL Config Client Id>',
authority: 'https://login.microsoftonline.com/common/',
redirectUri: 'https://wid3.app/credentials/oauth/redirect/microsoft'
}
}
},
}