Skip to content

Security Considerations, from OSW session about RAP and comparing with CIBA-PUSH #84

@michielbdejong

Description

@michielbdejong

Notes from OSW session about RAP are here:
https://hackmd.io/CDKQ5EfoT9OQBgLpFTLHdg

I was just looking up the security considerations of CIBA-PUSH, which basically apply to OCM as well:

https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#rfc.section.14

This specification defines a method of token delivery, "Push Callback", which differs from standard OAuth 2.0 flows. Most OAuth 2.0 and OpenID Connect profiles require the Client to authenticate at the token endpoint in order to retrieve access tokens, ID Tokens, and refresh tokens. However, with the CIBA Push mode, tokens are delivered directly to the Client at its Client Notification Endpoint. Implementers should ensure that appropriate security controls are in place for this endpoint and its registration with the OP. CIBA requires that a hash of the access token, a hash of the refresh token, and the auth_req_id itself are included in the ID Token when the Push mode is used. This allows the Client to verify that the values in the Push Callback have not been tampered with. Implementers using push tokens should also consider issuing sender-constrained access tokens to mitigate the risk of the tokens being intercepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions