Skip to content

civicteam/civic-auth-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Civic Auth examples

This repository contains a collection of sample applications demonstrating how to integrate with the Civic Auth libraries - @civic/auth and @civic/auth-web3 - in various environments and frameworks.

Contents

The repository includes the following samples:

  • Civic Auth:

    • NextJS: NextJS sample app integration with Civic Auth.
    • ReactJS: ReactJS sample app integration with Civic Auth.
    • server:
      • Express: A minimal Express.js app integrated with Civic Auth for user authentication using OAuth 2.0 and PKCE.
      • Hono: A minimal Hono app integrated with Civic Auth for user authentication using OAuth 2.0 and PKCE.
  • Civic Auth Web3:

    • Wagmi: reference implementation of a simple Wagmi app integration with Civic Auth Web3 SDK.
  • Start apps: Before running, be sure to set the client id in .env files for each app. You can find examples in the .env.example files from the root: yarn install yarn build yarn dev

  • Running cypress tests: cd packages/e2e: yarn install yarn cypress open --browser chrome

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published