Skip to content

Commit

Permalink
readme: faq clarification on url path
Browse files Browse the repository at this point in the history
  • Loading branch information
sahat committed Feb 19, 2016
1 parent 35357e6 commit 318ebf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -786,11 +786,11 @@ By default, `redirectUri` is set to `window.location.origin` (protocol, hostname
![](http://i.imgur.com/eaykgcZ.png)


However, you can set `redirectUri` to any URL you desire. For instance, you may follow the naming convention of [Passport.js](http://passportjs.org/):
However, you can set `redirectUri` to any URL *path* you desire. For instance, you may follow the naming convention of [Passport.js](http://passportjs.org/):
```js
// Note: Must be absolute path.
window.location.origin + /auth/facebook/facebook/callback
window.location.origin + /auth/facebook/google/callback
window.location.origin + '/auth/facebook/facebook/callback'
window.location.origin + '/auth/facebook/google/callback'
...
```

Expand Down

0 comments on commit 318ebf7

Please sign in to comment.