mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-19 19:17:01 -07:00
Changed the /token endpoint to return token as response
This commit is contained in:
parent
32d953218b
commit
7c33b71e97
1 changed files with 1 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ func (s *Server) Start(buttons string, provider *oidc.IdentityProvider, client *
|
|||
http.Redirect(w, r, "/error", http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
w.Write([]byte(accessToken))
|
||||
}
|
||||
})
|
||||
r.HandleFunc(s.Callback, func(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue