Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] verify accept profile #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

volodymyr-basiuk
Copy link
Contributor

No description provided.

@volodymyr-basiuk volodymyr-basiuk changed the title verify accept profile [WIP] verify accept profile Dec 24, 2024
@@ -600,6 +612,10 @@ func (v *Verifier) FullVerify(
request.ExpiresTime != nil && time.Now().After(time.Unix(*request.ExpiresTime, 0)) {
return nil, errors.New("Authorization request message is expired")
}
err := v.verifyAccept(request.Body.Accept)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should verify media type of response message that it has supported format writtern in the request

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before unpack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants