diff --git a/.well-known/oauth3 b/.well-known/oauth3 index 585edad..51f73eb 120000 --- a/.well-known/oauth3 +++ b/.well-known/oauth3 @@ -1 +1 @@ -../assets/org.oauth3/.well-known/oauth3 \ No newline at end of file +../assets/oauth3.org/.well-known/oauth3 \ No newline at end of file diff --git a/README.md b/README.md index 9e2c100..404a739 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,18 @@ This is a WALNUT module representing the html package for oauth3.org. -It must be installed to `/srv/walnut/packages/pages/org.oauth3` +It must be installed to `/srv/walnut/packages/pages/issuer@oauth3.org` ```bash -git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3 -pushd /srv/walnut/packages/pages/org.oauth3 +git clone git@git.daplie.com:OAuth3/issuer_oauth3.org.git /srv/walnut/packages/pages/issuer@oauth3.org +ln -s issuer@oauth3.org /srv/walnut/packages/pages/org.oauth3 +pushd /srv/walnut/packages/pages/issuer@oauth3.org bash ./install.sh popd ``` ```bash +echo "issuer@oauth3.org" >> /srv/walnut/packages/sites/EXAMPLE.COM echo "org.oauth3" >> /srv/walnut/packages/sites/EXAMPLE.COM ``` -This uses the OAuth3 JavaScript SDK `oauth3.js` as a subpackage in `/srv/walnut/packages/pages/org.oauth3/assets/org.oauth3`. +This uses the OAuth3 JavaScript SDK `oauth3.js` as a subpackage in `/srv/walnut/packages/pages/issuer@oauth3.org/assets/oauth3.org`. diff --git a/index.html b/index.html index 7fcc9f5..835a38d 100644 --- a/index.html +++ b/index.html @@ -147,9 +147,9 @@ - - - + + + diff --git a/install.sh b/install.sh index 13a4ae8..d751be3 100755 --- a/install.sh +++ b/install.sh @@ -2,13 +2,13 @@ set -e set -u -# git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3 +# git clone git@git.daplie.com:OAuth3/issuer_oauth3.org.git /srv/walnut/packages/pages/issuer@oauth3.org mkdir -p assets -if ! [ -d ./assets/org.oauth3 ]; then - git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/org.oauth3 +if ! [ -d ./assets/oauth3.org ]; then + git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/oauth3.org fi -pushd ./assets/org.oauth3 +pushd ./assets/oauth3.org git checkout v1 git pull popd