Skip to content

sachiniWettasinghe/identity-apps

Repository files navigation

WSO2 Identity Server Apps

End-user apps in WSO2 Identity Server

Branch Build Status
master Build Status

How to start

  1. Download or clone the project source code from https://github.com/wso2/identity-apps
  2. Install NodeJS from https://nodejs.org/en/download/.

If you are building the project for product-is build, do this step.

  1. Install Maven from https://maven.apache.org/download.cgi.

Build

  1. Run mvn clean install from the command line in the project root directory (where the root pom.xml is located). And the built dependency will install to your local .m2 repository.
  2. Then build WSO2 Identiy Server. (Follow the guide there)

Run (Dev Mode)

  1. Run npm run build from the command line in the project root directory (where the package.json is located) to build all the packages with dependancies.
  2. Download a WSO2 Identity Server distrubution.
  3. Run the wso2server.sh or wso2server.bat file in the /bin directory
  4. Add below code to WSO2 Identity Server/repository/deployment/server/webapps/scim2/WEB-INF/web.xml to allow CORS for webpack dev servers. (If you are running the app in webpack dev server as in the 4th step)
    <filter>
        <filter-name>CORS</filter-name>
        <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
        <init-param>
            <param-name>cors.allowOrigin</param-name>
            <param-value>http://localhost:9000</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>CORS</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
  1. Start in development mode, Execute cd apps/<app> && npm start command. E.g. cd apps/user-portal && npm start.

License

Licenses this source under the Apache License, Version 2.0 (LICENSE), You may not use this file except in compliance with the License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 36.8%
  • Java 29.2%
  • TypeScript 25.8%
  • CSS 7.0%
  • HTML 1.2%