That should work, the configuration which includes oauth2 in the webapp is
indeed controlled by that profile (here
<https://github.com/geoserver/geoserver/blob/master/src/web/app/pom.xml#L1434-L1448>
).

Two suggestions:

   - If you are running from maven, also include that profile when
   executing the run command, for example: "mvn jetty:run -Poauth2-github"
   - If you are running from IntelliJ, ensure the oauth2-github profile is
   selected in the "Maven Projects" window.

Torben

On Wed, Nov 21, 2018 at 4:57 PM Thomas <[email protected]> wrote:

> I'm exploring building a geoserver extension that runs with my project's
> oauth2 server.  In that direction, I'm trying to get one of the original
> oauth2 community extensions built and working.
>
> I'm building geoserver from within Intellij IDEA on a windows machine.  I
> have chosen the profile oauth2-github in the maven projects dialog and
> built it using the execute maven goal using "clean install -DskipTests
> -Poauth2-github"  It seems to build fine but I don't see any indication the
> extension is built.
>
> To start geoserver I use "jetty:run"  and it starts up without issue.
> However,  when going into the web console -> authentication -> add new
> authentication filters, the choices don't include any oauth2 filters.
>
> Is there any other sort of step I should be taking or log I should look at
> to help me resolve this?
>
> ~Thomas
>
>
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to