11{
2- "name" : " OAuth2 Authentication Provider" ,
3- "description" : " Authenticate users with OAuth 2.0." ,
4- "icon" : " key" ,
5- "tags" : [
6- " core" ,
7- " user" ,
8- " auth"
9- ],
10- "authors" : [
11- " rivet-gg" ,
12- " Skyler Calaman"
13- ],
14- "status" : " beta" ,
15- "dependencies" : {
16- "rate_limit" : {},
17- "users" : {},
18- "tokens" : {}
19- },
20- "routes" : {
21- "login_link" : {
22- "name" : " Login Link" ,
23- "description" : " Generate a login link for accessing OpenGB." ,
24- "method" : " GET" ,
25- "pathPrefix" : " /login/"
26- },
27- "login_callback" : {
28- "name" : " OAuth Redirect Callback" ,
29- "description" : " Verify a user's OAuth login and create a session." ,
30- "method" : " GET" ,
31- "pathPrefix" : " /callback/"
32- }
33- },
34- "scripts" : {},
35- "errors" : {
36- "already_friends" : {
37- "name" : " Already Friends"
38- },
39- "friend_request_not_found" : {
40- "name" : " Friend Request Not Found"
41- },
42- "friend_request_already_exists" : {
43- "name" : " Friend Request Already Exists"
44- },
45- "not_friend_request_recipient" : {
46- "name" : " Not Friend Request Recipient"
47- },
48- "friend_request_already_accepted" : {
49- "name" : " Friend Request Already Accepted"
50- },
51- "friend_request_already_declined" : {
52- "name" : " Friend Request Already Declined"
53- },
54- "cannot_send_to_self" : {
55- "name" : " Cannot Send to Self"
56- }
57- }
58- }
2+ "name" : " OAuth2 Authentication Provider" ,
3+ "description" : " Authenticate users with OAuth 2.0." ,
4+ "icon" : " key" ,
5+ "tags" : [
6+ " core" ,
7+ " user" ,
8+ " auth"
9+ ],
10+ "authors" : [
11+ " rivet-gg" ,
12+ " Skyler Calaman"
13+ ],
14+ "status" : " beta" ,
15+ "dependencies" : {
16+ "rate_limit" : {},
17+ "users" : {},
18+ "tokens" : {}
19+ },
20+ "routes" : {
21+ "login_callback" : {
22+ "name" : " OAuth Redirect Callback" ,
23+ "description" : " Verify a user's OAuth login and create a session." ,
24+ "method" : " GET" ,
25+ "pathPrefix" : " /callback/"
26+ }
27+ },
28+ "scripts" : {
29+ "init_flow" : {
30+ "name" : " Initialize Auth Flow" ,
31+ "description" : " Update flow token for OAuth login and generate an authorization URI."
32+ },
33+ "get_login_data" : {
34+ "name" : " Get Login Data" ,
35+ "description" : " Update flow token for OAuth login and generate an authorization URI."
36+ }
37+ },
38+ "errors" : {
39+ "already_friends" : {
40+ "name" : " Already Friends"
41+ },
42+ "friend_request_not_found" : {
43+ "name" : " Friend Request Not Found"
44+ },
45+ "friend_request_already_exists" : {
46+ "name" : " Friend Request Already Exists"
47+ },
48+ "not_friend_request_recipient" : {
49+ "name" : " Not Friend Request Recipient"
50+ },
51+ "friend_request_already_accepted" : {
52+ "name" : " Friend Request Already Accepted"
53+ },
54+ "friend_request_already_declined" : {
55+ "name" : " Friend Request Already Declined"
56+ },
57+ "cannot_send_to_self" : {
58+ "name" : " Cannot Send to Self"
59+ }
60+ }
61+ }
0 commit comments