Skip to content

Commit

Permalink
Merge pull request #564 from SaschaBrunnerCH/master
Browse files Browse the repository at this point in the history
Change wrong link to Node.js
  • Loading branch information
jgravois authored May 9, 2019
2 parents c96cb84 + 87d7053 commit f21522e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/guides/browser-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ group: 2-authentication

# Authentication in Browser-based Apps

In the [Node.js](/arcgis-rest-js/node/) guide we explained how to instantiate an [`ApplicationSession`](/arcgis-rest-js/api/auth/ApplicationSession/) with hardcoded credentials. In the browser, you need to use [OAuth 2.0](https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/signing-in-arcgis-online-users/) and have users sign directly into [ArcGIS Online](https://www.arcgis.com) or ArcGIS Enterprise.
In the [Node.js](/arcgis-rest-js/guides/node/) guide we explained how to instantiate an [`ApplicationSession`](/arcgis-rest-js/api/auth/ApplicationSession/) with hardcoded credentials. In the browser, you need to use [OAuth 2.0](https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/signing-in-arcgis-online-users/) and have users sign directly into [ArcGIS Online](https://www.arcgis.com) or ArcGIS Enterprise.

![browser based login](https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/images/authorization-screen.png)

Expand Down Expand Up @@ -38,4 +38,4 @@ request(url, { authentication: session })
### Demos

* [OAuth 2.0 Browser](https://github.com/Esri/arcgis-rest-js/tree/master/demos/oauth2-browser)
* [Retrying Requests](https://github.com/Esri/arcgis-rest-js/tree/master/demos/oauth2-browser-retry)
* [Retrying Requests](https://github.com/Esri/arcgis-rest-js/tree/master/demos/oauth2-browser-retry)

0 comments on commit f21522e

Please sign in to comment.