⚠️ DEPRECATION NOTICE⚠️ This example repository (
storyblok-koa-oauth-example
) is deprecated and no longer actively maintained.This code was created as a specific example for the tutorial "How to Create an OAuth2 Authentication Flow with Koa" before an official Storyblok library for handling app (aka plugin) authentication existed.
Please use the official
@storyblok/app-extension-auth
library for implementing OAuth authentication within your Storyblok Apps. This official library provides a standardized, supported, and more robust solution designed specifically for this purpose.
- ➡️ New projects requiring Storyblok App authentication should use
@storyblok/app-extension-auth
.- ➡️ Existing projects based on this example should strongly consider migrating to the official library for better support and features.
Find the official library here:
- GitHub: https://github.com/storyblok/app-extension-auth
- NPM: https://www.npmjs.com/package/@storyblok/app-extension-auth
- Documentation: OAuth 2.0 Authorization Flow
Thank you for your understanding.
An example app about OAuth Storyblok integration using Koa.
Start the koa service
$ yarn start # npm run start