SlideShare a Scribd company logo
FAPI/Open Banking Conformance
Joseph Heenan, CTO
July 2018
What we’re going to cover today
•FAPI/Open Banking Conformance suite overview
•Conformance suite demo
•"Tips and Tricks" for successful conformance
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 2
Who am I?
• Joseph Heenan, CTO at fintechlabs & Senior Architect at Authlete
• Software engineer & architect with over 25 years’ experience
• Active contributor to the OpenID Connect FAPI specifications
• Team lead/product owner on the Open Banking Conformance Suite
• Assisted many of the largest UK (CMA9) banks with achieving
compliance to the UK OpenBanking specification
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 3
Conformance Suite Overview
• Tests compliance to:
• OpenBanking UK Security Profile
• FAPI (Financial-Grade API profile for OpenID connect)
• HEART (Health-related profile OpenID connect)
• As part of above, also testssome (but not all) OpenID Connect & OAuth2
• Tests are applicable to:
• IdP (identity provider – ie. Banks / ASPSP)
• RP (relying party – ie. Fintechs / TPP / AISP / PISP)
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 4
Why would you use conformance suite?
• Reduced support costs
• If your implementation is interoperable it will “just work” for third parties
• Evidence of compliance to show government regulators
• Evidence of compliance may reduce insurance costs, chances of
security breach, etc
• It will be embarrassing if other people test your server & you fail
• Anyone can test a server
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 5
Conformance Suite Design Goals
• Multi-party protocol testing
• Structured configuration
• Structured logging and results
• Deterministic, modular execution units
• Protect sensitive configuration and results data
• Transparent process
• Usable as part of CI
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 6
Overview of test process for banks
• Prepare test deployment of your server
• Must be accessible to the conformance suite
• Create keys & TLS certificates
• Register necessary clients to authorization server
• Create conformance suite configuration using frontend
• Read the instructions if you are not sure how
• Create “test plan” applicable to your configuration
• Start test plan
• Start each test module within the plan, one at a time
• Login to authorization server when instructed
• View results and confirm “PASS”.
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 7
Conformance suite demo
(video)
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 8
Tips & tricks for successful FAPI
deployment
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 9
Before you even start
• Is OpenId Connect/FAPI part of your core competency?
• Is it part of your value add?
For fintechs, the answer is usually NO!
Don’t reinvent the wheel – use existing OpenID Connect client libraries
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 10
Conformance testing is not an afterthought
• Run conformance testing early and often
• Conformance test suite will help you
• Be secure
• Be inter-operable
• Conformance testing is the easy route to interoperability
• Banks generally return confusing or unhelpful error messages
• Banks often tolerate incorrect implementations – but not consistently
• Conformance testing can be part of your Continuous Integration
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 11
Problems banks had in the UK (1)
• Using software that was not OpenID Connect certified
• Required a lot of last minute changes from their vendors
• They missed government mandated “go live” date
• Large number of certified vendors available – use one!
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 12
Problems banks had in the UK (2)
• Not running conformance suite till development complete
• Required a lot of last minute changes from their vendors and their own
software teams
• They missed government mandated “go live” date
• Run conformance suite often during development!
• It can be deployed locally & integrated with your continuous integration
system
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 13
Problems banks had in the UK (3)
• Staffing teams with generic engineers & testers
• OAuth2, OpenID Connect & FAPI have some complexity
• Dependency on underlying RFCs – JWT, HTTP/1.1, TLS, etc.
• Some domain knowledge is essential
• Without knowledge, profile compliance and conformance testing will be slow
• Hire some experts for both development & test teams
• Many competentconsultants available, including fintechlabs
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 14
Problems banks had in the UK (4)
• Poor security architectures
• Some banks designed their architectures,then tried to retrofit FAPI
• If you change your implementation to not be standardscompliant, you will fail
conformance testing!
• Example: trying to change token_endpoint in .well-known/openid-
configuration to an array
• Hire some experts for architecture teams
• Many competentconsultants available, including fintechlabs
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 15
Problems banks had in the UK (5)
• Not reading instructions
• Surprising number of banks simply ignore the single page documentation
• RTFM!
• It’ll be much faster - honest
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 16
Problems banks had in the UK (6)
• Not designing for interoperability
• Security teams in many banks have a “send exactly what we say or your
request will fail” approach
• This isn’t compatible with open standards
• E.g. in HTTP/1.1, charset is case insensitive, banks must accept both:
• Accept: application/json; charset=utf-8
• Accept: application/json; charset=UTF-8
• Requires a mindset change in the security team
• Low friction interoperable APIs and ecosystemsare important
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 17
The End
• Source code etc publicly available on gitlab:
https://gitlab.com/fintechlabs/fapi-conformance-suite/
• Production deployment:
http://fintechlabs-fapi-conformance-suite.fintechlabs.io/
(Login with any google account)
• Open Source - contributions welcome, please ask if you’re like to help
24th July 2018 Joseph Heenan, CTO, fintechlabs.io 18

More Related Content

PDF
Open Banking UK “Identity Product” Internals #fapisum - Japan/UK Open Banking...
PDF
The Great British API Client Bake Off #fapisum - Japan/UK Open Banking and AP...
PDF
Authlete FAPI Implementation Part 1 #fapisum - Japan/UK Open Banking and APIs...
PDF
OIDF Workshop at European Identity Conference 2019 -- 5/14/2019 -- FAPI Certi...
PDF
Banking is Now More Open: Open Banking Update
PPT
InvestLab Product Overview
PDF
銀行APIのトレンド #fapisum
PDF
Fintech Belgium - Meetup on Compliance / KYC - Willem Lambrechts - Drebbel Te...
Open Banking UK “Identity Product” Internals #fapisum - Japan/UK Open Banking...
The Great British API Client Bake Off #fapisum - Japan/UK Open Banking and AP...
Authlete FAPI Implementation Part 1 #fapisum - Japan/UK Open Banking and APIs...
OIDF Workshop at European Identity Conference 2019 -- 5/14/2019 -- FAPI Certi...
Banking is Now More Open: Open Banking Update
InvestLab Product Overview
銀行APIのトレンド #fapisum
Fintech Belgium - Meetup on Compliance / KYC - Willem Lambrechts - Drebbel Te...

What's hot (17)

PPTX
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
 
PDF
[APIdays Singapore 2019] API Management in a Istio Service Mesh with WSO2 API...
PDF
Trends in Banking APIs
PPTX
DevDay: Managing a Distributed Network on a Common Infra, NTT Data
 
PDF
What's New With WSO2 Open Banking
PPS
Invansys Technologies
PDF
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
PDF
OIDF Workshop at Verizon Media -- 9/30/2019 -- Research & Education Working G...
PDF
[WSO2 Integration Summit Nairobi 2019] Case Study - Telkom Kenya
PPTX
LSEG Connectivity Services Overview
PDF
OIDF Workshop 4/29/2019 -- OpenID Research & Education Working Group Update
PPTX
MODRNA WG Overview - October 2020
PDF
Getting your API Management Strategy on Point for PSD2 Compliance
PDF
Finologee's PSD2 Value Proposition
PPTX
PPTX
Encap security
PDF
APIエコノミー時代の認証・認可
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
 
[APIdays Singapore 2019] API Management in a Istio Service Mesh with WSO2 API...
Trends in Banking APIs
DevDay: Managing a Distributed Network on a Common Infra, NTT Data
 
What's New With WSO2 Open Banking
Invansys Technologies
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
OIDF Workshop at Verizon Media -- 9/30/2019 -- Research & Education Working G...
[WSO2 Integration Summit Nairobi 2019] Case Study - Telkom Kenya
LSEG Connectivity Services Overview
OIDF Workshop 4/29/2019 -- OpenID Research & Education Working Group Update
MODRNA WG Overview - October 2020
Getting your API Management Strategy on Point for PSD2 Compliance
Finologee's PSD2 Value Proposition
Encap security
APIエコノミー時代の認証・認可
Ad

Similar to FAPI / Open Banking Conformance #fapisum - Japan/UK Open Banking and APIs Summit 2018 - July 24, 2018 (20)

PPTX
Automation and Technical Debt
PDF
Initiating a Successful Project for VoIP in 2016
PDF
Industry@RuleML2015: Automated Decision Support for Financial Regulatory/Pol...
PDF
9 Months and Counting with Jeff Borek of IBM OpenAPI Meetup 2016 09 15
PPTX
SAST in the SDLC: Building a plan for 'going left'
PDF
#OSSPARIS19 - Understanding Open Source Governance - Gilles Gravier, Wipro Li...
PDF
Enabling Agility Through DevOps
PDF
Maximize Your Enterprise DevOps Efforts and Outcomes with Value Streams
PPTX
State street edmc swaps pilot
PDF
The Empowered PMO: How to Get Your PMO On Board
PPTX
Open API Initiative: Six months and counting
DOC
Tanu_Gupta_ETL_Tester
PPT
JDA: Building an Open Source Center of Excellence
PDF
Leveraging DevOps Principles for Release and Deploy
PPTX
Agile-plus-DevOps Testing for Packaged Applications
PPTX
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
PPTX
Metrics to Power DevOps
PPTX
How to overcome challenges in it system evolution
PPTX
How Customers are Building and Using their Own Connectors
PPTX
5 Ways to Keep Your Interface Projects Under Control
Automation and Technical Debt
Initiating a Successful Project for VoIP in 2016
Industry@RuleML2015: Automated Decision Support for Financial Regulatory/Pol...
9 Months and Counting with Jeff Borek of IBM OpenAPI Meetup 2016 09 15
SAST in the SDLC: Building a plan for 'going left'
#OSSPARIS19 - Understanding Open Source Governance - Gilles Gravier, Wipro Li...
Enabling Agility Through DevOps
Maximize Your Enterprise DevOps Efforts and Outcomes with Value Streams
State street edmc swaps pilot
The Empowered PMO: How to Get Your PMO On Board
Open API Initiative: Six months and counting
Tanu_Gupta_ETL_Tester
JDA: Building an Open Source Center of Excellence
Leveraging DevOps Principles for Release and Deploy
Agile-plus-DevOps Testing for Packaged Applications
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
Metrics to Power DevOps
How to overcome challenges in it system evolution
How Customers are Building and Using their Own Connectors
5 Ways to Keep Your Interface Projects Under Control
Ad

More from FinTechLabs.io (10)

PDF
Open Banking: The View from a Japanese Startup (Authlete) #fapisum - Japan/UK...
PDF
FAPI / Open Banking Test Suite #fapisum - Japan/UK Open Banking and APIs Summ...
PDF
Trust Frameworks and Open Banking #fapisum - Japan/UK Open Banking and APIs S...
PDF
Issues towards Open Banking ecosystem and how OpenID Foundation tackles them ...
PDF
Banking API Trends in Japan #fapisum - Japan/UK Open Banking and APIs Summit ...
PDF
Open Banking: Lessons from the UK #fapisum - Japan/UK Open Banking and APIs S...
PDF
FAPI and Beyond: From an specification author's point of view #fapisum - Japa...
PDF
Basics: OAuth and OpenID Connect #fapisum - Japan/UK Open Banking and APIs Su...
PDF
Trends in Banking APIs #fapisum - Japan/UK Open Banking and APIs Summit 2018 ...
PDF
Open Banking for Developers #fapisum - Japan/UK Open Banking and APIs Summit ...
Open Banking: The View from a Japanese Startup (Authlete) #fapisum - Japan/UK...
FAPI / Open Banking Test Suite #fapisum - Japan/UK Open Banking and APIs Summ...
Trust Frameworks and Open Banking #fapisum - Japan/UK Open Banking and APIs S...
Issues towards Open Banking ecosystem and how OpenID Foundation tackles them ...
Banking API Trends in Japan #fapisum - Japan/UK Open Banking and APIs Summit ...
Open Banking: Lessons from the UK #fapisum - Japan/UK Open Banking and APIs S...
FAPI and Beyond: From an specification author's point of view #fapisum - Japa...
Basics: OAuth and OpenID Connect #fapisum - Japan/UK Open Banking and APIs Su...
Trends in Banking APIs #fapisum - Japan/UK Open Banking and APIs Summit 2018 ...
Open Banking for Developers #fapisum - Japan/UK Open Banking and APIs Summit ...

Recently uploaded (20)

PDF
Sims 4 Historia para lo sims 4 para jugar
DOCX
Unit-3 cyber security network security of internet system
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
Internet___Basics___Styled_ presentation
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPT
tcp ip networks nd ip layering assotred slides
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PPTX
artificial intelligence overview of it and more
PPTX
Funds Management Learning Material for Beg
PPTX
innovation process that make everything different.pptx
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Sims 4 Historia para lo sims 4 para jugar
Unit-3 cyber security network security of internet system
RPKI Status Update, presented by Makito Lay at IDNOG 10
Introuction about WHO-FIC in ICD-10.pptx
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Module 1 - Cyber Law and Ethics 101.pptx
An introduction to the IFRS (ISSB) Stndards.pdf
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
Introuction about ICD -10 and ICD-11 PPT.pptx
Internet___Basics___Styled_ presentation
Power Point - Lesson 3_2.pptx grad school presentation
tcp ip networks nd ip layering assotred slides
Job_Card_System_Styled_lorem_ipsum_.pptx
artificial intelligence overview of it and more
Funds Management Learning Material for Beg
innovation process that make everything different.pptx
The Internet -By the Numbers, Sri Lanka Edition
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)

FAPI / Open Banking Conformance #fapisum - Japan/UK Open Banking and APIs Summit 2018 - July 24, 2018

  • 1. FAPI/Open Banking Conformance Joseph Heenan, CTO July 2018
  • 2. What we’re going to cover today •FAPI/Open Banking Conformance suite overview •Conformance suite demo •"Tips and Tricks" for successful conformance 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 2
  • 3. Who am I? • Joseph Heenan, CTO at fintechlabs & Senior Architect at Authlete • Software engineer & architect with over 25 years’ experience • Active contributor to the OpenID Connect FAPI specifications • Team lead/product owner on the Open Banking Conformance Suite • Assisted many of the largest UK (CMA9) banks with achieving compliance to the UK OpenBanking specification 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 3
  • 4. Conformance Suite Overview • Tests compliance to: • OpenBanking UK Security Profile • FAPI (Financial-Grade API profile for OpenID connect) • HEART (Health-related profile OpenID connect) • As part of above, also testssome (but not all) OpenID Connect & OAuth2 • Tests are applicable to: • IdP (identity provider – ie. Banks / ASPSP) • RP (relying party – ie. Fintechs / TPP / AISP / PISP) 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 4
  • 5. Why would you use conformance suite? • Reduced support costs • If your implementation is interoperable it will “just work” for third parties • Evidence of compliance to show government regulators • Evidence of compliance may reduce insurance costs, chances of security breach, etc • It will be embarrassing if other people test your server & you fail • Anyone can test a server 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 5
  • 6. Conformance Suite Design Goals • Multi-party protocol testing • Structured configuration • Structured logging and results • Deterministic, modular execution units • Protect sensitive configuration and results data • Transparent process • Usable as part of CI 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 6
  • 7. Overview of test process for banks • Prepare test deployment of your server • Must be accessible to the conformance suite • Create keys & TLS certificates • Register necessary clients to authorization server • Create conformance suite configuration using frontend • Read the instructions if you are not sure how • Create “test plan” applicable to your configuration • Start test plan • Start each test module within the plan, one at a time • Login to authorization server when instructed • View results and confirm “PASS”. 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 7
  • 8. Conformance suite demo (video) 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 8
  • 9. Tips & tricks for successful FAPI deployment 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 9
  • 10. Before you even start • Is OpenId Connect/FAPI part of your core competency? • Is it part of your value add? For fintechs, the answer is usually NO! Don’t reinvent the wheel – use existing OpenID Connect client libraries 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 10
  • 11. Conformance testing is not an afterthought • Run conformance testing early and often • Conformance test suite will help you • Be secure • Be inter-operable • Conformance testing is the easy route to interoperability • Banks generally return confusing or unhelpful error messages • Banks often tolerate incorrect implementations – but not consistently • Conformance testing can be part of your Continuous Integration 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 11
  • 12. Problems banks had in the UK (1) • Using software that was not OpenID Connect certified • Required a lot of last minute changes from their vendors • They missed government mandated “go live” date • Large number of certified vendors available – use one! 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 12
  • 13. Problems banks had in the UK (2) • Not running conformance suite till development complete • Required a lot of last minute changes from their vendors and their own software teams • They missed government mandated “go live” date • Run conformance suite often during development! • It can be deployed locally & integrated with your continuous integration system 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 13
  • 14. Problems banks had in the UK (3) • Staffing teams with generic engineers & testers • OAuth2, OpenID Connect & FAPI have some complexity • Dependency on underlying RFCs – JWT, HTTP/1.1, TLS, etc. • Some domain knowledge is essential • Without knowledge, profile compliance and conformance testing will be slow • Hire some experts for both development & test teams • Many competentconsultants available, including fintechlabs 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 14
  • 15. Problems banks had in the UK (4) • Poor security architectures • Some banks designed their architectures,then tried to retrofit FAPI • If you change your implementation to not be standardscompliant, you will fail conformance testing! • Example: trying to change token_endpoint in .well-known/openid- configuration to an array • Hire some experts for architecture teams • Many competentconsultants available, including fintechlabs 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 15
  • 16. Problems banks had in the UK (5) • Not reading instructions • Surprising number of banks simply ignore the single page documentation • RTFM! • It’ll be much faster - honest 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 16
  • 17. Problems banks had in the UK (6) • Not designing for interoperability • Security teams in many banks have a “send exactly what we say or your request will fail” approach • This isn’t compatible with open standards • E.g. in HTTP/1.1, charset is case insensitive, banks must accept both: • Accept: application/json; charset=utf-8 • Accept: application/json; charset=UTF-8 • Requires a mindset change in the security team • Low friction interoperable APIs and ecosystemsare important 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 17
  • 18. The End • Source code etc publicly available on gitlab: https://gitlab.com/fintechlabs/fapi-conformance-suite/ • Production deployment: http://fintechlabs-fapi-conformance-suite.fintechlabs.io/ (Login with any google account) • Open Source - contributions welcome, please ask if you’re like to help 24th July 2018 Joseph Heenan, CTO, fintechlabs.io 18