We are running into issues passing the OAuth Code to access protected feature classes using the URL Parameter in the Feature Layer class in the ArcGIS GIS API.
Is this an intended use of the OAuth code? Or should we be approaching this another way?
const layer = new FeatureLayer({
url: "{{ URL_TO_FEATURE_SERVER }}/0?token={{ CODE_FROM_OAUTH}}",
});
@JoelBennett @UndralBatsukh @Sage_Wall @jcarlson @LaurenBoyd @AndyGup Any insight is appreciated!