feat: persist sessions and auto redirect to app

This commit is contained in:
Stavros
2025-01-24 15:29:46 +02:00
parent 80d25551e0
commit 433e71bd50
11 changed files with 287 additions and 88 deletions

View File

@@ -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
}