Commit graph

2 commits

Author SHA1 Message Date
Thomas Hipp
a2a3f8cd3f
pkg/client: Replace interface{} with any
Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
2023-10-12 10:56:51 +02:00
Emil Bektimirov
8e298791d7
feat: Token Exchange (RFC 8693) (#255)
This change implements OAuth2 Token Exchange in OP according to RFC 8693 (and client code)

Some implementation details:

- OP parses and verifies subject/actor tokens natively if they were issued by OP
- Third-party tokens verification is also possible by implementing additional storage interface
- Token exchange can issue only OP's native tokens (id_token, access_token and refresh_token) with static issuer
2023-02-19 15:57:46 +02:00