You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-07-13 01:40:48 +02:00
Integrate cookie builder with OAuth2 Proxy
This commit is contained in:
@ -402,7 +402,7 @@ func (patTest *PassAccessTokenTest) Close() {
|
||||
func (patTest *PassAccessTokenTest) getCallbackEndpoint() (httpCode int, cookie string) {
|
||||
rw := httptest.NewRecorder()
|
||||
|
||||
csrf, err := cookies.NewCSRF(patTest.proxy.CookieOptions)
|
||||
csrf, err := cookies.NewCSRF(patTest.proxy.csrfCookieBuilder, patTest.proxy.encryptionSecret)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user