File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/AspNet.Security.OAuth.Onshape
test/AspNet.Security.OAuth.Providers.Tests/Onshape Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,16 @@ public static class OnshapeAuthenticationDefaults
37
37
/// <summary>
38
38
/// Default value for <see cref="OAuthOptions.AuthorizationEndpoint"/>.
39
39
/// </summary>
40
- public const string AuthorizationEndpoint = "https://cad .onshape.com/oauth/authorize" ;
40
+ public const string AuthorizationEndpoint = "https://oauth .onshape.com/oauth/authorize" ;
41
41
42
42
/// <summary>
43
43
/// Default value for <see cref="OAuthOptions.TokenEndpoint"/>.
44
44
/// </summary>
45
- public const string TokenEndpoint = "https://cad .onshape.com/oauth/token" ;
45
+ public const string TokenEndpoint = "https://oauth .onshape.com/oauth/token" ;
46
46
47
47
/// <summary>
48
48
/// Default value for <see cref="OAuthOptions.UserInformationEndpoint"/>.
49
49
/// </summary>
50
- public const string UserInformationEndpoint = "https://cad.onshape.com/api/users/session " ;
50
+ public const string UserInformationEndpoint = "https://cad.onshape.com/api/users/sessioninfo " ;
51
51
}
52
52
}
Original file line number Diff line number Diff line change 2
2
"$schema" : " https://raw.githubusercontent.com/justeat/httpclient-interception/master/src/HttpClientInterception/Bundles/http-request-bundle-schema.json" ,
3
3
"items" : [
4
4
{
5
- "uri" : " https://cad .onshape.com/oauth/token" ,
5
+ "uri" : " https://oauth .onshape.com/oauth/token" ,
6
6
"method" : " POST" ,
7
7
"contentFormat" : " json" ,
8
8
"contentJson" : {
13
13
}
14
14
},
15
15
{
16
- "uri" : " https://cad.onshape.com/api/users/session " ,
16
+ "uri" : " https://cad.onshape.com/api/users/sessioninfo " ,
17
17
"contentFormat" : " json" ,
18
18
"contentJson" : {
19
19
"id" : " my-id" ,
You can’t perform that action at this time.
0 commit comments