Increase OAuth2 state parameter limit

Этот коммит содержится в:
JoramWilander
2018-02-07 16:21:22 -05:00
родитель 654fc2f749
Коммит 840892ab88
4 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@@ -115,7 +115,7 @@ func TestAuthIsValid(t *testing.T) {
t.Fatal(err)
}
ad.Scope = NewRandomString(129)
ad.Scope = NewRandomString(1025)
if err := ad.IsValid(); err == nil {
t.Fatal("Should have failed invalid Scope")
}