Single Page Apps
Code examples for creating OAuth clients for Single Page Applications, the token handler pattern, OAuth Agent, Assisted Token Flow and more.
![SPA using Token Handler](/images/resources/tutorials/writing-clients/spa/spa-using-token-handler.jpg)
SPA using Token Handler
An example showing how to use token handler components to harden your SPA security
![Token Handler Deployment Example](/images/resources/tutorials/writing-clients/spa/curity-tutorials-token-handler.jpg)
Token Handler Deployment Example
Details of how the code example and its token handler is deployed
![Javascript SPA using Assisted Token Flow](/images/resources/code-examples/code-examples-javascript.jpg)
Javascript SPA using Assisted Token Flow
An example that uses the assisted token flow in a simple Javascript app.
![Javascript SPA using OAuth Assistant Library](/images/resources/tutorials/writing-clients/oauth-assistant/oauth-assistant.jpg)
Javascript SPA using OAuth Assistant Library
How to use the Curity OAuth Assistant available on npm in a Single Page Application
![Javascript SPA using Code Flow + PKCE](/images/resources/code-examples/code-examples-javascript.jpg)
Javascript SPA using Code Flow + PKCE
A simple Javascript SPA sample using the code flow with PKCE
![React SPA using Assisted Token Flow](/images/resources/code-examples/code-examples-react.jpg)
React SPA using Assisted Token Flow
An example that uses the assisted token flow in a React JS app.
![Angular SPA using Assisted Token Flow](/images/resources/code-examples/code-examples-angular.jpg)
Angular SPA using Assisted Token Flow
An example that uses the assisted token flow in an Angular app.
![Hypermedia Authentication API React Demo](/images/resources/tutorials/haapi/haapi_demo.png)
Hypermedia Authentication API React Demo
A React demo application using the Hypermedia Authentication API