feat: add simple Oauth2 logic for github
Some checks failed
Backend ci / build (push) Has been cancelled
Some checks failed
Backend ci / build (push) Has been cancelled
This commit is contained in:
@@ -4,6 +4,32 @@
|
||||
"contact": {}
|
||||
},
|
||||
"paths": {
|
||||
"/callback": {
|
||||
"get": {
|
||||
"description": "Callback for oauth2 providers",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"auth"
|
||||
],
|
||||
"summary": "Callback for oauth2 providers",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/posts": {
|
||||
"get": {
|
||||
"description": "Get all posts",
|
||||
|
||||
Reference in New Issue
Block a user