There was an error while loading. Please reload this page.
2 parents f630215 + 8146e05 commit f8fa68cCopy full SHA for f8fa68c
1 file changed
service/auth.tsp
@@ -9,6 +9,12 @@ namespace CoreSystem.Auth {
9
enum OAuthProviders {
10
google: "GOOGLE",
11
github: "GITHUB",
12
+ nycu: "NYCU",
13
+ }
14
+
15
+ enum OAuthLoginProviders {
16
+ google: "GOOGLE",
17
18
}
19
20
model RefreshToken {
@@ -27,7 +33,7 @@ namespace CoreSystem.Auth {
27
33
op loginGoogle(
28
34
@doc("The OAuth2 provider to use for login.")
29
35
@path
30
- provider: OAuthProviders,
36
+ provider: OAuthLoginProviders;
31
37
32
38
@doc("The callback URL of the OAuth2 login. [See details](https://clustron.atlassian.net/wiki/spaces/CS/pages/41320449/Authentication+Process)")
39
@query
0 commit comments