|
@@ -180,15 +180,6 @@ export default {
|
|
|
window.location.href = 'https://gitee.com/oauth/authorize?client_id=e7faeabf239846288ee07e6c40066cbd0dcc46cb1c1dea37c602c29a2368c6b8&redirect_uri=http%3A%2F%2Flocalhost%2Fcpms%2Findex.html%23%2FsocialLogin&response_type=code';
|
|
|
},
|
|
|
/** Azure登录 */
|
|
|
- doAzureLogin() {
|
|
|
- // TODO: 1. 修改authorize请求链接、2. 修改client_id、3. 修改scope 4. 修改重定向地址
|
|
|
- // 1. https://login.microsoftonline.com/ecaa386b-c8df-4ce0-ad01-740cbdb5ba55/oauth2/v2.0/authorize
|
|
|
- // 2. client_id=?
|
|
|
- // 3. scope=profile openid offline_access
|
|
|
- // 4. redirect_uri=?
|
|
|
- window.location.href = 'https://login.microsoftonline.com/7503e40a-97ec-4eb9-bf6d-2836e57e882d/oauth2/v2.0/authorize?client_id=3db6f125-db4d-456b-a76e-a6d03182e845&redirect_uri=http%3A%2F%2Flocalhost%2Fcpms%2Findex.html&scope=api://3db6f125-db4d-456b-a76e-a6d03182e845/User.Read&response_type=code';
|
|
|
- },
|
|
|
- /** Azure登录 */
|
|
|
doAzureLogin() {
|
|
|
// 1. authorize请求链接
|
|
|
// https://login.microsoftonline.com/ecaa386b-c8df-4ce0-ad01-740cbdb5ba55/oauth2/v2.0/authorize
|