Closed ricardogsilva closed 4 years ago
@Samweli
Be sure to implement the bootstrapping of GeoServer commands using this authentication approach instead of the one I implemented yesterday, which uses the GeoNode OAuth access tokens
Closing this, as the current PR #79 is already using it
Contrary to what is currently being used for the GeoServer bootstrapping process, it is possible to use the default GeoServer
admin
user to access the REST API endpoints by leveraging this user's access credentials directly.This means we do not need to use GeoNode's OAuth authentication mechanism to perform bootstrapping of GeoServer. This makes the overall process simpler and also means we do not need to add any customized OAuth application to the GeoNode docker image.
Example usage, with URLs and creds for local dev:
Related to #55