diff --git a/README.md b/README.md index 5ccbddb..e7151fb 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,13 @@ If you have no idea what you're doing 1. Create a folder for your project named after your app, such as `example.com/` 2. Inside of the folder `example.com/` a folder called `assets/` -3. Inside of the folder `example.com/assets` a folder called `org.oauth3/` +3. Inside of the folder `example.com/assets` a folder called `oauth3.org/` 4. Download [oauth3.js-v1.zip](https://git.daplie.com/OAuth3/oauth3.js/repository/archive.zip?ref=v1) 5. Double-click to unzip the folder. -6. Copy the file `oauth3.core.js` into the folder `example.com/assets/org.oauth3/` +6. Copy the file `oauth3.core.js` into the folder `example.com/assets/oauth3.org/` 7. Copy the folder `well-known` into the folder `example.com/` 8. Rename the folder `well-known` to `.well-known` (when you do this, it become invisible, that's okay) -9. Add `` to your `index.html` +9. Add `` to your `index.html` 9. Add `` to your `index.html` 10. Create files in `example.com` called `app.js` and `index.html` and put this in it: @@ -44,7 +44,7 @@ If you have no idea what you're doing - + @@ -81,7 +81,7 @@ function onClickLogin() { console.info('Secure PPID (aka subject):', session.token.sub); return oauth3.request({ - url: 'https://oauth3.org/api/org.oauth3.provider/inspect' + url: 'https://oauth3.org/api/issuer@oauth3.org/inspect' , session: session }).then(function (resp) {