Skip to content

Securing APIs with OpenID Connect using 3scale API Management and Red Hat Single Sign On

Notifications You must be signed in to change notification settings

skraft-redhat/3scale-security-oidc-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Security with OpenID Connect

Introduction

Securing APIs with OpenID Connect using 3scale API Management and Red Hat Single Sign On demo is a multi-product demo showing how Red Hat 3scale API Management and Red Hat Single Sign On can be use to evolve APIs security.

Products and Projects

  • OpenShift Container Platform
  • Red Hat 3scale API Management
  • Red Hat Single Sign On
  • Red Hat Fuse
  • Red Hat AMQ

Provisioning Time: ~15 min

Slides: https://github.com/jbossdemocentral/3scale-security-oidc-demo/tree/master/docs/slides.pdf

Video:

API Security with OpenID Connect

Credentials

Red Hat Single Sign On

  • Check the credential-sso Kubernetes Secret in the SSO namespace for admin username and password

3scale API Management

  • Username: admin
  • Password: password

Web Application

  • Username: statepolice
  • Password: password

Github Repo: http://github.com/jbossdemocentral/3scale-security-oidc-demo

Background

Shadowman Insurance Corporation is one of the largest insurance providers in the country. Shadowman Insurance primarily offers its services through the Internet and through partner independent insurance agents. To stay competitive, they decide to start the new "Digital transformation Project" by transforming their entire business and organizational activities, processes to fully leverage the digital technologies.

Accident Alerts

Shadowman Insurance accident customer helpdesk center collects external reports of the clients and send them back to Shadowman daily. The company wants to enable police and fire departments access to the accident alert center web application. Currently that application is used by the helpdesk from the internal (VPN) network. As much as Shadowman Insurance's urgency to provide these capability, they were also concern about the security of the service they provide. No compromise when it comes to the safty of the client data and it's system.

API Security

Shadowman Insurance CSO (Chief Security Officer) requested that all external facing services be compliant with the corporate security policy. Currently the web application is using Red Hat Single Sign On to secure the Accident Alert Center Portal. In this demo the backend REST service will be integrated with the Alert Center portal using an API Gateway secured service instead of the legacy unsecured endpoint.

Demo Objectives

  • Disable external access to backend service
  • Configure 3scale service to receive POST methods on the internal backend service endpoint
  • Update Alert Center Portal web application with the secured code using RH SSO Javascript adapter
  • Update the deploy configuration with the new build of the Alert Center Portal using the gated backend service endpoint
  • Show the 3scale service analytics after posting reports using the gated service
  • OPTIONAL - update the application plan to rate-limit the application

Demo

Deployment

The easiest way to deploy this demos is to request it from Red Hat Product Demo System (RHPDS). If you want to deploy in your own OpenShift cluster you can follow the installation instructions.

Support & Ownership

Feel free to ask Hugo Guerrero if you need some support when there are any questions left or if you need some support.

About

Securing APIs with OpenID Connect using 3scale API Management and Red Hat Single Sign On

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 74.6%
  • SCSS 14.7%
  • CSS 5.9%
  • JavaScript 3.6%
  • Java 1.2%