Skip to content

ローカルやCIのために、Auth0 SPAの認証をモックするAPIコンテナ

License

Notifications You must be signed in to change notification settings

komtaki/auth0-spa-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth0-spa-mock

ローカルやCIのために、Auth0 SPAの認証をモックするAPIコンテナ

https://qiita.com/komtaki/private/42da4a84dc086edb52ee

OpenAPI Spec

How to use

Generate Certification

cd app/config

openssl genrsa 2048 > private.key
openssl req -new -key private.Key -out server.csr
openssl x509 -in server.csr -out public.crt -req -signkey private.key -days 3650

Docker build

docker build -t komtaki/auth0-spa-mock:latest .

docker run -e AUTH0_ISSUER="https://auth0" -e USER_MAIL_ADDRESS="[email protected]" -e USER_SUID="auth0|su4wrufhsjkdnfs" komtaki/auth0-spa-mock:latest

About

ローカルやCIのために、Auth0 SPAの認証をモックするAPIコンテナ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published