frontend, api, db: add single sign-on
Closes https://gitlab.com/commento/commento/issues/90
This commit is contained in:
10
api/oauth_sso.go
Normal file
10
api/oauth_sso.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
type ssoPayload struct {
|
||||
Domain string `json:"domain"`
|
||||
Token string `json:"token"`
|
||||
Email string `json:"email"`
|
||||
Name string `json:"name"`
|
||||
Link string `json:"link"`
|
||||
Photo string `json:"photo"`
|
||||
}
|
||||
Reference in New Issue
Block a user