update paths and urls
This commit is contained in:
parent
ff5c13f3fc
commit
426d6a4cbe
24
README.md
24
README.md
|
@ -1,17 +1,29 @@
|
|||
This is a WALNUT module representing the html package for the oauth3.org popup.
|
||||
issuer.html
|
||||
===========
|
||||
|
||||
It must be installed to `/srv/walnut/packages/pages/issuer@oauth3.org`
|
||||
| [oauth3.js](https://git.oauth3.org/OAuth3/oauth3.js)
|
||||
| *issuer.html*
|
||||
| [issuer.rest.walnut.js](https://git.oauth3.org/OAuth3/issuer.rest.walnut.js)
|
||||
| Sponsored by [Daplie](https://daplie.com)
|
||||
|
||||
|
||||
This is a browser application which implements the issuer side of the *authorization_dialog* flow for OAuth3.
|
||||
|
||||
It may be used client-side only (public key or granted scope syncing will be disabled),
|
||||
or will the *issuer.rest.walnut.js* APIs on the backend for full functionality.
|
||||
|
||||
For use with walnut it must be installed to `/opt/walnut/packages/pages/issuer@oauth3.org`
|
||||
|
||||
```bash
|
||||
git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/issuer@oauth3.org
|
||||
pushd /srv/walnut/packages/pages/issuer@oauth3.org
|
||||
git clone git@git.oauth3.org:OAuth3/org.oauth3.git /opt/walnut/packages/pages/issuer@oauth3.org
|
||||
pushd /opt/walnut/packages/pages/issuer@oauth3.org
|
||||
bash ./install.sh
|
||||
popd
|
||||
```
|
||||
|
||||
```bash
|
||||
echo "issuer@oauth3.org" >> /srv/walnut/packages/sites/EXAMPLE.COM
|
||||
echo "issuer@oauth3.org" >> /opt/walnut/var/sites/EXAMPLE.COM
|
||||
```
|
||||
|
||||
This uses the OAuth3 JavaScript SDK `oauth3.js` as a subpackage in
|
||||
`/srv/walnut/packages/pages/issuer@oauth3.org/assets/oauth3.org`.
|
||||
`/opt/walnut/packages/pages/issuer@oauth3.org/assets/oauth3.org`.
|
||||
|
|
Loading…
Reference in New Issue