I am adding layers from several external WMS sources. Some of them use 
authentication and when I for example add &token=mysecret to the 
getCapabilities request, then this token is also added to the URL's in the 
getCapabilities and all works fine when I use the layers.

But, one of the sources does not include the token in the getCapabilities so I 
need to add that to the store/layers.

Another source use oauth2 with bearer token.

There is a module to add authentication for the layers GeoServer are 
publishing, but I found no info or modules on how to use authentication 
requesting external sources.

How can I add token to layer URL and oauth2 for external WMS ?


Denne e-mail er sendt som en sikker e-mail fra Tryg.

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to