org.oauth3 -> issuer@oauth3.org
This commit is contained in:
parent
f91a7771c9
commit
d709c989a7
|
@ -1 +1 @@
|
||||||
../assets/org.oauth3/.well-known/oauth3
|
../assets/oauth3.org/.well-known/oauth3
|
10
README.md
10
README.md
|
@ -1,16 +1,18 @@
|
||||||
This is a WALNUT module representing the html package for oauth3.org.
|
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
|
```bash
|
||||||
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
|
||||||
pushd /srv/walnut/packages/pages/org.oauth3
|
ln -s issuer@oauth3.org /srv/walnut/packages/pages/org.oauth3
|
||||||
|
pushd /srv/walnut/packages/pages/issuer@oauth3.org
|
||||||
bash ./install.sh
|
bash ./install.sh
|
||||||
popd
|
popd
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
echo "issuer@oauth3.org" >> /srv/walnut/packages/sites/EXAMPLE.COM
|
||||||
echo "org.oauth3" >> /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`.
|
||||||
|
|
|
@ -147,9 +147,9 @@
|
||||||
<script src="./js/bootstrap.min.js"></script>
|
<script src="./js/bootstrap.min.js"></script>
|
||||||
<script src="./js/issuer.js"></script>
|
<script src="./js/issuer.js"></script>
|
||||||
<script src="./js/script.js"></script>
|
<script src="./js/script.js"></script>
|
||||||
<script src="/assets/org.oauth3/oauth3.core.js"></script>
|
<script src="/assets/oauth3.org/oauth3.core.js"></script>
|
||||||
<script src="/assets/org.oauth3/oauth3.issuer.js"></script>
|
<script src="/assets/oauth3.org/oauth3.issuer.js"></script>
|
||||||
<!--script src="/assets/org.oauth3/oauth3.mock.js"></script-->
|
<!--script src="/assets/oauth3.org/oauth3.mock.js"></script-->
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -u
|
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
|
mkdir -p assets
|
||||||
if ! [ -d ./assets/org.oauth3 ]; then
|
if ! [ -d ./assets/oauth3.org ]; then
|
||||||
git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/org.oauth3
|
git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/oauth3.org
|
||||||
fi
|
fi
|
||||||
pushd ./assets/org.oauth3
|
pushd ./assets/oauth3.org
|
||||||
git checkout v1
|
git checkout v1
|
||||||
git pull
|
git pull
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue