Skip to content

Conversation

@tulshi
Copy link
Contributor

@tulshi tulshi commented Jun 6, 2023

Closes #36 (previous commits incorrectly refer to #45)

Copy link
Contributor

@FragLegs FragLegs left a comment

Choose a reason for hiding this comment

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

I think you originally intended for this to be a documentation-only change. It might be easier if that's all it was and we left the renaming of method and endpoint_url for a different pull request.

@tulshi tulshi requested review from appsdesh and timcappalli June 8, 2023 19:40
{
"delivery": {
"delivery_method": "urn:ietf:rfc:8935",
"method": "urn:ietf:rfc:8935",
Copy link
Contributor

Choose a reason for hiding this comment

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

I looked at the already approved spec and it appears that the spec uses delivery_method key.

"delivery": {
    "delivery_method":
      "https://schemas.openid.net/secevent/risc/delivery-method/push",
      "url": "https://receiver.example.com/events"
  },

https://openid.net/specs/openid-sse-framework-1_0-ID1.html#rfc.section.7.1.2.2

Though I would have liked the method over delivery_method (as described earlier), that would break the backwards compatibility of transmitter's APIs.

Copy link
Contributor

Choose a reason for hiding this comment

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

The currently approved spec uses method in the spec (see sections 11.2.1.1. and 11.2.1.2), and mistakenly uses delivery_method in the examples.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for clarifying it :)

Copy link
Contributor

Choose a reason for hiding this comment

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

@FragLegs @tulshi noticed discrepancy around endpoint_url vs url. The spec mentions endpoint_url (see sections 11.2.1.1. and 11.2.1.2)

And examples show url. Could we align on this either in this PR or a brand new?

Copy link
Member

@timcappalli timcappalli left a comment

Choose a reason for hiding this comment

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

lgtm

@tulshi tulshi merged commit ae0cf79 into main Jun 13, 2023
@tulshi tulshi deleted the poll-transmitter-specified-url branch June 13, 2023 17:52
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.

Should POLL URL be specified in the "delivery methods supported"?

6 participants