Skip to content

Commit

Permalink
chore: Remove requestContext from README (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
manueltanzi-okta authored Apr 9, 2019
1 parent 076d18c commit 1128aba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,13 +413,11 @@ Calls the [Webfinger](https://tools.ietf.org/html/rfc7033) API and gets a respon

* `resource` - URI that identifies the entity whose information is sought, currently only acct scheme is supported (e.g acct:dade.murphy@example.com)
* `rel` - Optional parameter to request only a subset of the information that would otherwise be returned without the "rel" parameter
* `requestContext` - Optional parameter that provides Webfinger the context of that which the user is trying to access, such as the path of an app

```javascript
authClient.webfinger({
resource: 'acct:john.joe@example.com',
rel: 'okta:idp',
requestContext: '/home/dropbox/0oa16630PzpWKeWrH0g4/121'
rel: 'okta:idp'
})
.then(function(res) {
// use the webfinger response to select an idp
Expand Down

0 comments on commit 1128aba

Please sign in to comment.