Skip to content

Resolve "Improve oauth error handler"

What does this MR do

Add new template error page to show an error description if some error occurs. Ex.: Used to manage errors when you use oauth2 login.

IMPACTS

  • Html templates has been added to awe-generic-screens. You have to edit your pom.xml to modify your build to retrieve the templates.
  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-dependency-plugin</artifactId>
    <executions>
    ...
    <execution>
      <phase>generate-sources</phase>
      <id>unpack awe-generic-screens templates</id>
      <goals>
        <goal>unpack</goal>
      </goals>
      <configuration>
        <artifactItems>
          <artifactItem>
            <groupId>com.almis.awe</groupId>
            <artifactId>awe-generic-screens</artifactId>
            <version>${awe.version}</version>
            <outputDirectory>${project.build.frontend}</outputDirectory>
            <includes>templates/**</includes>
          </artifactItem>
        </artifactItems>
      </configuration>
    </execution>

Your checklist for this pull request

📄 Please review the guidelines for contributing to this repository.

  • Make sure your merge request is to develop or /feature /bugfix branch. Don't request your master!
  • Check the commit's or even all commits' message styles matches our requested structure.
  • Check the commit's pass the CI pipeline.
  • New and existing unit tests pass locally with my changes.
  • Commented code, particularly in hard-to-understand areas

❤️ Thank you from AWE team!

Closes #641 (closed)

Edited by Pablo Vidal Otero

Merge request reports

Loading