feat: Add the UI flow for Microsoft Oauth (#6243)

This commit is contained in:
Pranav Raj S
2023-01-17 04:18:14 -08:00
committed by GitHub
parent 66cb0ee865
commit f6a56edf86
11 changed files with 273 additions and 105 deletions

View File

@@ -0,0 +1,14 @@
/* global axios */
import ApiClient from '../ApiClient';
class MicrosoftClient extends ApiClient {
constructor() {
super('microsoft', { accountScoped: true });
}
generateAuthorization(payload) {
return axios.post(`${this.url}/authorization`, payload);
}
}
export default new MicrosoftClient();