-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4cc04d
commit 983151b
Showing
14 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: "Publish" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
CLOUDFLARE_API_TOKEN: ${{secrets.CLOUDFLARE_PAGES_API_TOKEN}} | ||
|
||
jobs: | ||
publish: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: setup actions | ||
uses: actions/checkout@v3 | ||
- name: setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.5.1 | ||
registry-url: https://registry.npmjs.org | ||
- name: install malta | ||
run: | | ||
curl -o malta.tgz -L https://github.com/pilcrowonpaper/malta/releases/latest/download/linux-amd64.tgz | ||
tar -xvzf malta.tgz | ||
- name: build | ||
run: ./linux-amd64/malta build | ||
- name: install wrangler | ||
run: npm i -g wrangler | ||
- name: deploy | ||
run: wrangler pages deploy dist --project-name copenhagen --branch main |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# The Copenhagen Book | ||
|
||
The Copenhagen Book provides a general guideline on implementing auth in web applications. It is free, open source, and community maintained. It may be opinionated or incomplete at times but we hope this fills a certain void in online resources. We recommend using this alongside the [OWASP Cheat Sheet series](https://cheatsheetseries.owasp.org/index.html). | ||
|
||
If you have any suggestions or concerns, consider opening a new issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "The Copenhagen Book", | ||
"description": "A basic guideline on implementing auth for the web.", | ||
"domain": "https://thecopenhagenbook.com", | ||
"twitter": "@pilcrowonpaper", | ||
"sidebar": [ | ||
{ | ||
"title": "Guides", | ||
"pages": [ | ||
["Server-side tokens", "/server-side-tokens.md"], | ||
["Sessions", "/sessions.md"], | ||
["Password authentication", "/password-authentication.md"], | ||
["Email verification", "/email-verification.md"], | ||
["Password reset", "/password-reset.md"], | ||
["Generating random values", "/random-values.md"], | ||
["OAuth", "/oauth.md"], | ||
["Multi-factor authentication (MFA)", "/mfa.md"], | ||
["Passkeys", "/passkeys.md"], | ||
["Cross-site request forgery (CSRF)", "/csrf.md"], | ||
["Open redirect", "/open-redirect.md"] | ||
] | ||
}, | ||
{ | ||
"title": "Resources", | ||
"pages": [ | ||
["GitHub repository", "https://github.com/pilcrowonpaper/copenhagen"], | ||
["OWASP", "https://twitter.com/pilcrowonpaper"] | ||
] | ||
} | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.