WSO2 Identity Server Apps - Admin Portal Server Feature

This feature contains the admin portal application

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

org.wso2.identity.apps
ArtifactId

ArtifactId

org.wso2.identity.apps.admin.portal.server.feature
Last Version

Last Version

1.0.355
Release Date

Release Date

Type

Type

pom
Description

Description

WSO2 Identity Server Apps - Admin Portal Server Feature
This feature contains the admin portal application
Project URL

Project URL

http://wso2.org
Project Organization

Project Organization

WSO2

Download org.wso2.identity.apps.admin.portal.server.feature

How to add to project

<!-- https://jarcasting.com/artifacts/org.wso2.identity.apps/org.wso2.identity.apps.admin.portal.server.feature/ -->
<dependency>
    <groupId>org.wso2.identity.apps</groupId>
    <artifactId>org.wso2.identity.apps.admin.portal.server.feature</artifactId>
    <version>1.0.355</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.wso2.identity.apps/org.wso2.identity.apps.admin.portal.server.feature/
implementation 'org.wso2.identity.apps:org.wso2.identity.apps.admin.portal.server.feature:1.0.355'
// https://jarcasting.com/artifacts/org.wso2.identity.apps/org.wso2.identity.apps.admin.portal.server.feature/
implementation ("org.wso2.identity.apps:org.wso2.identity.apps.admin.portal.server.feature:1.0.355")
'org.wso2.identity.apps:org.wso2.identity.apps.admin.portal.server.feature:pom:1.0.355'
<dependency org="org.wso2.identity.apps" name="org.wso2.identity.apps.admin.portal.server.feature" rev="1.0.355">
  <artifact name="org.wso2.identity.apps.admin.portal.server.feature" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.wso2.identity.apps', module='org.wso2.identity.apps.admin.portal.server.feature', version='1.0.355')
)
libraryDependencies += "org.wso2.identity.apps" % "org.wso2.identity.apps.admin.portal.server.feature" % "1.0.355"
[org.wso2.identity.apps/org.wso2.identity.apps.admin.portal.server.feature "1.0.355"]

Dependencies

compile (1)

Group / Artifact Type Version
org.wso2.identity.apps : admin-portal war 1.0.355

Project Modules

There are no modules declared in this project.

WSO2 Identity Server Apps

End-user apps in WSO2 Identity Server

Branch Build Status Travis CI Status
master Build Status Build Status

Setup build environment

  1. Install NodeJS from https://nodejs.org/en/download/.
  2. Install Maven from https://maven.apache.org/download.cgi.

Build & Run

Build

  1. Download or clone the project source code from https://github.com/wso2/identity-apps
  2. Run mvn clean install from the command line in the project root directory (where the root pom.xml is located).

If you are building product-is, the built identity apps dependencies will install to your local .m2 repository during the build above.

  1. Then you just need to build WSO2 Identity Server after. (Follow the guide there)

Run

  1. Execute wso2server.sh (For unix environment) or wso2server.bat (For windows environment) file from the bin directory to run the WSO2 Identity Server.
  2. Navigate to https://localhost:9443/myaccount or https://localhost:9443/console from the browser. (Add certificate exception if required)

Run in dev mode

  1. Do only if you skip WSO2 Identity Server build step above: Download the built distribution of WSO2 Identity Server from https://wso2.com/identity-and-access-management/.

  2. Add the following code to repository/conf/deployment.toml in WSO2 Identity Server distribution pack to allow CORS.

    [cors]
    allowed_origins = [
       "https://localhost:9000",
       "https://localhost:9001"
    ]
    supported_methods = [
       "GET",
       "POST",
       "HEAD",
       "OPTIONS",
       "PUT",
       "PATCH",
       "HEAD",
       "DELETE",
       "PATCH"
    ]
    exposed_headers = [ "Location" ]
  3. Add your hostname and port as a trusted FIDO2 origin to the deployment.toml file as given below.

     [fido.trusted]
     origins=["https://localhost:9000"]
  4. Currently, Console & My Account are considered as system applications hence they are readonly by default. So in order to configure the Callback Urls as specified in step 7, you need to add the following config to the deployment.toml file to override the default behaviour.

    [system_applications]
    read_only_apps = []
  5. Execute wso2server.sh (For unix environment) or wso2server.bat (For windows environment) file from the bin directory to run WSO2 Identity Server.

  6. Navigate to https://localhost:9443/carbon/ from the browser, and login to the system by entering an admin password.

Hint! Can find out the default password details here: https://docs.wso2.com/display/ADMIN44x/Configuring+the+System+Administrator

  1. In the system, navigate to Service Providers -> List from left side panel. And then go to Edit option in the application that you want to configure in dev mode (ex: MY_ACCOUNT). Then click on Inbound Authentication Configuration -> OAuth/OpenID Connect Configuration -> Edit. And then update the Callback Url field with below corresponding values.

    My Account

    regexp=(https://localhost:9443/myaccount/login|https://localhost:9443/myaccount/logout|https://localhost:9000/myaccount/login|https://localhost:9000/myaccount/logout)
    

    Console

    regexp=(https://localhost:9443/console/login|https://localhost:9443/console/logout|https://localhost:9001/console/login|https://localhost:9001/console/logout)
    
  2. Open cloned or downloaded Identity Apps repo and 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 dependencies. (Note:- Not necessary if you have already done above identity apps build steps)

    Note:-

    To build a single package/app, you can use this command: npx lerna bootstrap --scope <package-name> && npx lerna run --scope <package-name> build.

    E.g. npx lerna bootstrap --scope @wso2is/myaccount && npx lerna run --scope @wso2is/myaccount build

  3. Start the apps in development mode, Execute cd apps/<app> && npm start command. E.g. cd apps/myaccount && npm start.

  4. Once the app is successfully started, you can access the via the URLs https://localhost:9000/myaccount or https://localhost:9001/console.

Running Tests

Unit Tests

Product Unit tests have been implemented using Jest along with React Testing Library and you can run the unit test suites using the following commands.

Run Tests for all modules

npm run test

Run Tests for individual module

npx lerna run test --scope @wso2is/forms

Integration Tests

Product integration tests have been written using Cypress Testing Framework and you can run the test suites using the following command.

Headless mode

npm run test:integration

Interactive mode

npm run test:integration:interactive

Only Smoke Tests

npm run test:integration:smoke

For more information regarding the test module, checkout the README in the tests module.

Configuration

The portals i.e. Console & My Account are configurable using the deployment.toml when they are hosted inside the Identity Server. Read through our configurations guidelines to learn about the configuration process.

Deployment

Deploying the apps on an external server

It is possible to deploy the Console and My Account applications on an external server. To do so, the following steps has to be followed in order to build the applications.

Method 1 - Build using Maven

Follow the steps in listed here in-order to build the project with maven.

Once the build is complete, execute the following commands in-order to build the Console & My Account applications for external deployment.

Console

npx lerna run build:external --scope @wso2is/console

Once the build is completed, you can find the build artifacts inside the build folder i.e apps/console/build.

My Account

npx lerna run build:external --scope @wso2is/myaccount

Once the build is completed, you can find the build artifacts inside the build folder i.e apps/myaccount/build.

Method 2 - Build using npm

You can simply use npm to build the Console and My Account applications for external deployment by just executing the following script.

# From project root
npm run build:external

The respective build artifacts could be found inside the build folder. (apps/(myaccount|console)/build)

Reporting Issues

We encourage you to report issues, improvements and feature requests regarding the project through GitHub Issue Tracker.

Important: And please be advised that, security issues must be reported to [email protected], not as GitHub issues, in order to reach proper audience. We strongly advise following the WSO2 Security Vulnerability Reporting Guidelines when reporting the security issues.

License

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

org.wso2.identity.apps

WSO2

Welcome to the WSO2 source code! For info on working with the WSO2 repositories and contributing code, click the link below.

Versions

Version
1.0.355
1.0.354
1.0.353
1.0.352
1.0.351
1.0.350
1.0.349
1.0.348
1.0.347
1.0.346
1.0.345
1.0.344
1.0.343
1.0.342
1.0.341
1.0.340
1.0.339
1.0.338
1.0.337
1.0.336
1.0.335
1.0.334
1.0.333
1.0.332
1.0.331
1.0.330
1.0.329
1.0.328
1.0.327
1.0.326
1.0.325
1.0.324
1.0.323
1.0.322
1.0.321
1.0.320
1.0.319
1.0.318
1.0.317
1.0.316
1.0.315
1.0.314
1.0.313
1.0.312
1.0.311
1.0.310
1.0.309
1.0.308
1.0.307
1.0.306
1.0.305
1.0.304
1.0.303
1.0.302
1.0.301
1.0.300
1.0.299
1.0.298
1.0.297
1.0.296
1.0.295
1.0.294
1.0.293
1.0.292
1.0.291
1.0.290
1.0.289
1.0.288
1.0.287
1.0.286
1.0.285
1.0.284
1.0.283
1.0.282
1.0.281
1.0.218
1.0.217
1.0.216
1.0.215
1.0.214
1.0.213
1.0.212
1.0.211
1.0.210
1.0.209
1.0.208
1.0.207
1.0.206
1.0.205
1.0.204
1.0.203
1.0.202
1.0.201
1.0.200
1.0.199
1.0.198
1.0.197
1.0.196
1.0.195
1.0.194
1.0.193
1.0.192
1.0.191
1.0.190
1.0.189
1.0.188
1.0.187
1.0.186
1.0.185
1.0.184
1.0.183
1.0.182
1.0.181
1.0.180
1.0.179
1.0.178
1.0.177
1.0.176
1.0.175
1.0.174
1.0.173
1.0.172
1.0.171
1.0.170
1.0.169
1.0.168
1.0.167
1.0.166
1.0.165
1.0.164
1.0.163
1.0.162
1.0.161
1.0.160
1.0.159
1.0.158
1.0.157
1.0.156
1.0.155
1.0.154
1.0.153
1.0.152
1.0.151
1.0.150
1.0.149
1.0.148
1.0.147
1.0.146
1.0.145
1.0.144
1.0.143
1.0.142
1.0.141
1.0.140
1.0.139
1.0.138
1.0.137
1.0.136
1.0.135
1.0.134
1.0.133
1.0.132
1.0.131
1.0.130
1.0.129
1.0.128
1.0.127
1.0.126
1.0.125
1.0.124
1.0.123
1.0.122
1.0.121
1.0.120
1.0.119
1.0.118
1.0.117
1.0.116
1.0.115
1.0.114
1.0.113
1.0.112
1.0.111
1.0.110
1.0.109
1.0.108
1.0.107
1.0.106
1.0.105
1.0.104
1.0.103
1.0.102
1.0.101
1.0.100
1.0.99
1.0.98
1.0.97
1.0.96
1.0.95
1.0.94
1.0.92
1.0.91
1.0.90
1.0.89
1.0.88
1.0.87
1.0.86
1.0.85
1.0.84
1.0.83
1.0.82
1.0.81
1.0.80
1.0.79
1.0.78
1.0.77
1.0.76
1.0.75
1.0.74
1.0.73
1.0.72
1.0.71
1.0.70
1.0.69
1.0.68
1.0.67
1.0.66
1.0.65
1.0.64
1.0.63
1.0.62
1.0.61
1.0.60
1.0.59
1.0.58
1.0.57
1.0.56
1.0.55
1.0.54
1.0.53
1.0.52
1.0.51
1.0.50
1.0.49
1.0.48
1.0.47
1.0.46
1.0.45
1.0.44
1.0.43
1.0.42
1.0.41
1.0.40
1.0.39
1.0.38
1.0.37
1.0.36
1.0.35
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
1.0.29
1.0.28
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
0.1.163
0.1.162
0.1.161
0.1.160
0.1.159
0.1.158
0.1.157
0.1.156
0.1.155
0.1.154
0.1.153
0.1.152
0.1.151
0.1.150
0.1.149
0.1.148
0.1.147
0.1.146
0.1.144
0.1.143
0.1.142
0.1.141
0.1.140
0.1.139
0.1.138
0.1.137
0.1.136
0.1.135
0.1.134
0.1.133
0.1.132
0.1.131
0.1.130
0.1.129
0.1.128
0.1.127
0.1.126
0.1.125
0.1.70
0.1.69
0.1.68
0.1.67
0.1.66
0.1.65
0.1.64
0.1.63
0.1.62
0.1.61
0.1.60
0.1.59
0.1.58
0.1.57
0.1.56