Refactor Steam login initialization to remove unnecessary response and add nonce handling
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 1m5s
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 1m5s
This commit is contained in:
@@ -17,9 +17,7 @@ type (
|
||||
|
||||
type (
|
||||
SteamLoginInitReq {}
|
||||
SteamLoginInitResp {
|
||||
RedirectUrl string `json:"redirectUrl"`
|
||||
}
|
||||
// No response needed - endpoint will redirect directly
|
||||
)
|
||||
|
||||
type (
|
||||
@@ -55,10 +53,10 @@ service Authenticator {
|
||||
|
||||
@doc (
|
||||
summary: "Initiate Steam login"
|
||||
description: "Redirects user to Steam OpenID login page"
|
||||
description: "Redirects user to Steam OpenID login page with nonce for security"
|
||||
)
|
||||
@handler steamLoginInitHandler
|
||||
get /steam/login (SteamLoginInitReq) returns (SteamLoginInitResp)
|
||||
get /steam/login (SteamLoginInitReq)
|
||||
|
||||
@doc (
|
||||
summary: "Steam login callback"
|
||||
|
||||
Reference in New Issue
Block a user