Commit Graph

146 Commits

Author SHA1 Message Date
Jamil
f84df97c86 Update install script to support Ubuntu 22.04 (#733) 2022-06-18 10:52:46 -04:00
Jamil
e6adc0fc92 Allow option to disable auto-creating OIDC users (#728)
* Allow option to disable auto-creating OIDC users

* Po's comments
2022-06-18 10:19:05 -04:00
Jamil
f26cca54b4 Allow disabling the VPN session disabling through OIDC (#727)
* Allow disabling the VPN session disabling through OIDC

* More debugging

* Update docs/docs/authenticate/index.md

* Update omnibus/cookbooks/firezone/attributes/default.rb

* Update apps/fz_http/lib/fz_http_web/live/hooks/live_auth.ex

Co-authored-by: Andrew <andrew@firezone.dev>

Co-authored-by: Andrew <andrew@firezone.dev>
2022-06-17 10:15:41 -07:00
Chetan Verma
12a28b6232 Code Highlight Changes (#712) 2022-06-14 17:33:57 -07:00
lilibobear
21e9c1cebb Removed sentence and updated Heading (#709) 2022-06-14 13:09:12 -07:00
Jamil
221739edeb 0.4.0 (#688)
* Bump npm

* Bump deps for dependabot issues

* MFA (#660)

* 2fa wip

add encrypted map

gen schema

add nimble_totp

add module doc

add qrusty

bump base to enable use of qrusty

requires a newer version of glibc

Revert "add qrusty"

This reverts commit 27eaf7864ea98578186c53ed4c5f650e244e8ede.

cannot be used on bionic

add eqrcode

scaffold

extract renderQR

Revert "add eqrcode"

This reverts commit fe6f74f18f13dfcc92dbdace657d194e5536e164.

use frontend qr code generation

display MFA methods

add description

* wip

* finish mfa totp addition workflow

* use real user

* allow deleting authenticator

* use valid? and :since

* make credo happy

* use mfa

* make credo happy

* add account page for unprivileged users

* eof

* add unit tests

* add integration tests

* Workaround for SSH dropping by not using random port (#697)

* Bump npm

* Bump deps for dependabot issues

* Workaround for SSH dropping by not using random port

Fixes #478

Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>

* Update repo README (#700)

* update main readme

* add link

* update badges

* remove redundant copy

* Fix show-config to display current config (#703)

Fixes #553

* Minor MFA fixes (#704)

* Fix conflicting cache-control header (#706)

* Add manual refresh (#705)

* Add manual refresh

* Align button right

Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>

Co-authored-by: Po Chen <chenpaul914@gmail.com>
Co-authored-by: Gabi <gabriel@firezone.dev>
Co-authored-by: Jason G <52545545+gongjason@users.noreply.github.com>
2022-06-14 09:19:56 -07:00
Jason G
5e16a0c849 Docs - OIDC instructions (#615)
* add azure ad docs

* re-add idp instructions

* update azure AD doc

* edit google auth doc for oidc

* update okta documentation for oidc

* update azure gif

* fix lint errors

* title case

* update for review notes

* changing references of base URL to external URL

* make notes consistent to discourage basic OAuth vs OIDC

* add offline_access scope for azure

* wip upgrade docs

* update azure doc and upgrade instructions

* update Okta doc

* trailing whitespace

* add docs for offline access

* consistent code placeholder formatting

* update upgrade docs

* update image title
2022-06-13 08:38:10 -07:00
Jason G
5da7f48449 Docs style update (#674)
* improve text readability

* title font weight

* improve hover look

* font size and colors

* wip logo redo

* site nav font size

* Styled Docs Navigation

* Styling Select Version

* Custom Header Changes

* Button Style Update

* Build Correction

* Major Styling Updates

* Change Aux Link

* Styling Updates

* Changes

* fix links in nav

* inter -> Fira sans + mono

* Pre Commit Run

Co-authored-by: Chetan Verma <chetan61verma@gmail.com>
2022-06-08 11:43:35 -07:00
Jason G
8576d874a3 Improve deployment docs (#673)
* simplify deployment instructions

* fix lint error

* add troubleshooting section

* additional server instrucrtions

* clarify supported distros in intro

* punctuation

* upgrade to 0.3.17

* clarifications from review

@jamilbk changed based on your comments. There was a section about upgrading that was supposed to be in another branch (OIDC). I removed that.

@lilibobear added a screenshot

* add note for ssh interruptions during install

* link to github issue for ssh interrupt

* review note fixes

* testing signed commit

* update gpg email
2022-06-08 04:41:05 -07:00
Jamil
b3b5f6e9b2 Fix file and directory locations (#682) 2022-06-07 12:24:02 -07:00
Chris
d4bc8d559f Add configuration option to allow the NGINX vhosts to listen for IPv6 connections in addition to IPv4 (#657) 2022-05-29 14:52:58 -07:00
Po Chen
d99f6b4fa6 Truncate device name to 15 characters (#648)
* truncate device name with a hash

* add test

* make linter happy
2022-05-25 22:50:22 -07:00
Jason G
397c20d213 Docs - update add and edit device instructions (#614)
* update device settings instructions

* wording tweak
2022-05-25 09:44:08 -07:00
Jamil
cd85b0847a Update README.md 2022-05-23 13:59:16 -07:00
Jamil
4a601800ac Update README.md 2022-05-23 12:04:00 -07:00
Jamil
500faf813a Bump all runtimes; use simpler version function for app version (#634) 2022-05-19 07:38:16 -07:00
Jamil
ab6463a4af Fix reverse tunnel docs (#613) 2022-05-17 15:59:48 -07:00
Jamil
0ded5d97ba Add file locations to docs (#607)
* Add phoenix listen address

* Fix listen address

* Add file locations to docs
2022-05-17 11:28:22 -07:00
Jamil
b91848d756 Add phoenix listen address (#604)
* Add phoenix listen address

* Fix listen address
2022-05-17 11:27:49 -07:00
Mark Percival
055232ce46 Implement OpenID Connect for authentication (#586)
Implements the OpenID Connect standard for SSO Authentication
which allows users to use any OpenID Connect provider for authentication
not just a predefined list of providers

User can add OIDC config settings to firezone.rb which will then
populate the AUTH_OIDC environment variable as a JSON string.

FZ_HTTP will use this environment variable to create
provider(s) to authenticate against

Additional notes:
- Updates .env.sample to include an example of a 'stringified' JSON
environment variable for setting AUTH_OIDC in development
- Add dep for 'openid_connect' and test dep for 'mox'
2022-05-12 10:37:08 -07:00
Po Chen
298b353ebe Implemet Outbound emails (#576)
* add mailer

* setup configs

* only setup mailer if from_email is present

* Do not assume OUTBOUND_EMAIL_FROM exists

* update docs

* add usage of mailer as tests

* address comments
2022-05-09 14:50:22 -10:00
Jason G
d0fad02c1b Update twitter link on docs + readme (#570)
* update footer link

* update readme and docs config
2022-05-03 15:55:07 -07:00
Jamil
fd14582f20 Add docs section on running raw SQL queries against the Firezone DB (#561)
* Add docs section on running raw SQL; update nokogiri;

* Remove top-level heading size requirement
2022-04-28 09:46:10 -07:00
Jamil
908cfc7dff 522/allow disabling of config creation (#559)
* Checkpoint

* Optionally hide device mgmt buttons
2022-04-27 15:20:33 -07:00
Jamil
1740481055 Update public-facing links to firezone.dev (#548)
* Update public-facing links to firezone.dev

* Fix docs lint error

* Update docs Gemfile to latest gems

* Update npm packages
2022-04-20 06:43:55 -07:00
Jason G
6991a6c9d8 update link (#543) 2022-04-15 11:17:45 -07:00
Jamil
2c5078e63f Add WireGuard preshared-keys to devices (#542)
* Add PSK support

* Add HTTP registered application name

* Better kernel check message

* Does order matter\?
2022-04-15 09:56:56 -07:00
Jason G
a8cbfda7a1 Clarify upgrade instructions 0.3.1 to 0.3.2 (#538)
* clarification

* grammar
2022-04-12 07:29:10 -07:00
Jason G
61a04877a3 fix typo (#534) 2022-04-11 12:31:52 -07:00
Jamil
4fa5bedf1b 500/fix redirect local auth (#509)
* Allow config of ext url; show this after create-admin

* Use opts for ueberauth

* weird nil error

* get_env vs fetch_env

* Use integer

* Try new external_url thingo

* Fix callback_url

* Fix path suffix

* Fix markdownlint hiccup

* fix create admin

* Differentiate phoenix_port

* cron note; installscript fix; minor fqdn fixes

* Send full node obj to app_env

* Add db pass to config file
2022-04-05 14:43:00 -07:00
Jason G
49b5296f6d Docs - improve reauth documentation (#512)
* clarify reauth instructions

* update link

* update re-auth screenshot
2022-03-29 10:11:34 -07:00
Jamil
150fd5fc03 Minor docs fixes (#505)
* Minor docs fixes

* MD012 fix

Co-authored-by: Jason Gong <jason@firez.one>
2022-03-15 20:32:22 -05:00
Jason G
b54684a154 Authentication documentation (Google, Okta) (#483)
* add links to common configurations

* add Google auth doc

restructure auth section and add start to google sso draft

* Add Okta doc first draft

* update authentication index

* fix wording

* grammar

* suggested changes

- resolved comments
- images wider for visibility
- newline

* complete Google OAuth doc

* lint error + grammar

* complete Okta doc

* ordering + wording

* re-auth instructions

* fixes

* consistent references

* add reference to sso in add users doc

* fix small markdown error
2022-03-04 17:15:43 -08:00
Jamil
35e057bace Upgrading 0.2.x 0.3.x (#494)
* Add note on upgrading from 0.2.x to 0.3.0

* upgrading note 0.3.0
2022-03-04 14:03:18 -08:00
Jamil
a91c2db887 0.3.0 (#465)
* Found endpoint empty bug

* Fix use_site_ bugs

* Generate private keys client-side instead of on the Firezone server (#451)

* Rename events; add crypto lib

* seemingly working keygen

* Checkpoint

* Remove private key from devices; make tests pass

* Refactor auth to use simplified new router helper

* Fix js bundle

* Refactor event listeners into their own file

* Refactor settings

* Fix JS

* Working live views in unprivileged sections

* Rough draft working

* Checkpoint before fixing tests

* Tests passing

* Max devices per user configuration option (#471)

* Max tunnels per user configuration option

* Clean up remaining tunnel references

* Replace local auth system with Ueberauth / Guardian (#475)

* Checkpoint working authentication

* Working admin and unprivileged auth using Guardian

* Remove Sessions cruft

* More cleanup

* load new secrets

* Remove firezone tmp dirs

* Okta and Google Oauth (#485)

* working oauth!

* Remove keycloak; working google

* Ensure nil to_s

* Passing tests

* Add compile-time prod config

* Fix live_view typo

* Revert key_ttl to vpn_session_duration

* print logs after first configure

* Use get_env/1 for fetching optional config vars

* Disable telemetry from config

* miss the to_s

* Fix sign in page

* add tunnel admin guide

* auth path

* Fix tests

* Device editing no more (#491)
2022-03-04 09:32:13 -08:00
Jason G
299bea6b42 Clarify whitelisting doc (#486)
* edit documentation for clarity

* specify source IP

* jamil suggestion
2022-03-02 12:36:53 -08:00
Jamil
685da00647 Update nginx config and docs with user recs (#481)
* Update nginx config and docs with user recs

* Fix typo
2022-03-02 08:09:31 -08:00
Jason G
57ed0d8e36 Docs - add reverse tunnel guide (#477)
* reverse tunnel doc

* image size and small wording change

* fixes
2022-02-26 15:13:33 -08:00
Jason G
fb41941edc Docs - Add client instructions on how to authenticate (#476)
* add example of authenticating end user

* add re-authentication instructions to client instructions

* fix spacing

* update gif
2022-02-25 15:22:10 -08:00
Jamil
d5bcbec56e Add UFW compatibility options (#474)
* Add UFW compatibility options

* Clean up wording

* Fix grammar issue
2022-02-25 08:25:52 -08:00
Jamil
98e21e1107 Remove unused default_site setting (#470) 2022-02-22 13:25:25 -08:00
Jason G
0d87389906 Add IP whitelisting and improve prereq doc (#466)
* add whitelist doc

* add firewall section to prerequisites

* clarifying ports are tcp and updating screenshot
2022-02-22 08:38:56 -08:00
Jason G
fa1f34aeca Docs - add split tunnel and user instructions (#463)
* add split tunnel and client guide

* reformat deploy steps

reformat deploy steps to refer to client guide

* broken link

* fix trailing whitespace
2022-02-19 15:41:21 -08:00
Jason G
7c1b92a9fc Docs seo fix (duplicate title and description tags) (#461)
* remove duplicate meta description

this is already included in the seo plugin

* add seo tag to plugins

* removing duplicate tags in title
2022-02-17 13:42:09 -08:00
Jason G
8e3ef1e60f Add sitemap and descriptions for SEO (#458)
* add sitemap and descriptions

* remove whitespace

* adding descriptions to docs

* fixed typos and made edits based on suggestions

* line formatting
2022-02-16 09:52:15 -08:00
Jamil
988a5d34b6 Docs fixes (#456) 2022-02-13 12:34:21 -08:00
Jamil
7588884d84 Add option to disable logging (#453) 2022-02-12 11:30:30 -08:00
Jason Gong
2eb0de98ba formatting 2022-02-11 10:24:30 -08:00
Jason Gong
9b54095803 fix linting error 2022-02-11 09:49:46 -08:00
Jason Gong
7505f63822 Merge branch 'docs-update-add-howtos' into add-docs-auth-page 2022-02-11 09:49:15 -08:00