mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 12:45:47 +00:00
feat: persist sessions and auto redirect to app
This commit is contained in:
@@ -58,7 +58,7 @@ type OAuthConfig struct {
|
||||
MicrosoftClientSecret string
|
||||
}
|
||||
|
||||
type OAuthBind struct {
|
||||
type OAuthRequest struct {
|
||||
Provider string `uri:"provider" binding:"required"`
|
||||
}
|
||||
|
||||
@@ -67,8 +67,3 @@ type OAuthProviders struct {
|
||||
Google *oauth.OAuth
|
||||
Microsoft *oauth.OAuth
|
||||
}
|
||||
|
||||
type OAuthLogin struct {
|
||||
Email string
|
||||
Token string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user