Identity Server : OAuth2.0 Samples with Identity Server 5.2.0

WSO2 Identity Server

License

License

Categories

Categories

IDE Development Tools H2 Data Databases OAuth2 Security
GroupId

GroupId

org.wso2.is
ArtifactId

ArtifactId

wso2is-identity-samples-oauth2
Last Version

Last Version

5.11.0-m33
Release Date

Release Date

Type

Type

pom
Description

Description

Identity Server : OAuth2.0 Samples with Identity Server 5.2.0
WSO2 Identity Server
Project Organization

Project Organization

WSO2

Download wso2is-identity-samples-oauth2

How to add to project

<!-- https://jarcasting.com/artifacts/org.wso2.is/wso2is-identity-samples-oauth2/ -->
<dependency>
    <groupId>org.wso2.is</groupId>
    <artifactId>wso2is-identity-samples-oauth2</artifactId>
    <version>5.11.0-m33</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.wso2.is/wso2is-identity-samples-oauth2/
implementation 'org.wso2.is:wso2is-identity-samples-oauth2:5.11.0-m33'
// https://jarcasting.com/artifacts/org.wso2.is/wso2is-identity-samples-oauth2/
implementation ("org.wso2.is:wso2is-identity-samples-oauth2:5.11.0-m33")
'org.wso2.is:wso2is-identity-samples-oauth2:pom:5.11.0-m33'
<dependency org="org.wso2.is" name="wso2is-identity-samples-oauth2" rev="5.11.0-m33">
  <artifact name="wso2is-identity-samples-oauth2" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.wso2.is', module='wso2is-identity-samples-oauth2', version='5.11.0-m33')
)
libraryDependencies += "org.wso2.is" % "wso2is-identity-samples-oauth2" % "5.11.0-m33"
[org.wso2.is/wso2is-identity-samples-oauth2 "5.11.0-m33"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • playground2
  • custom-grant
WSO2 Identity Server

Welcome to WSO2 Identity Server


Branch Build Status Test Results
master Build Status Test Results

Stackoverflow Join the chat at https://join.slack.com/t/wso2is/shared_invite/enQtNzk0MTI1OTg5NjM1LTllODZiMTYzMmY0YzljYjdhZGExZWVkZDUxOWVjZDJkZGIzNTE1NDllYWFhM2MyOGFjMDlkYzJjODJhOWQ4YjE License Twitter

WSO2 Identity Server is an open source Identity and Access Management solution federating and managing identities across both enterprise and cloud service environments. It supports a wide array of authentication protocols such as SAML 2.0 Web SSO, OpenID, OAuth 2.0/1.0a, OpenID Connect and WS-Federation Passive. It supports role based authorization and fined grained authorization with XACML 2.0/3.0 while inbound/outbound provisioning is supported through SCIM.

This is based on the revolutionary WSO2 Carbon framework. All the major features have been developed as pluggable Carbon components.

System Requirements

  1. Minimum memory - 2 GB

  2. Processor - 2 Core/vCPU 1.1GHz or higher

  3. Java SE Development Kit 1.8

  4. The Management Console requires full Javascript enablement of the Web browser.

  5. To build WSO2 Identity Server from the Source distribution, it is also necessary that you have Maven 3 or later.

For more details see

Project Resources

Building the distribution from source

  1. Install Java SE Development Kit 1.8
  2. Install Apache Maven 3.x.x(https://maven.apache.org/download.cgi#)
  3. Get a clone from https://github.com/wso2/product-is.git or download the source
  4. Run the one of the below maven commands from product-is directory,
    • mvn clean install (To build the binary and source distributions with the tests)
    • mvn clean install -Dmaven.test.skip=true (To build the binary and source distribution, without running any of the unit/integration tests)
  5. You can find the binary distribution in product-is/modules/distribution/target directory.

Installation and Running

  1. Extract the downloaded/built binary distribution zip file
  2. Run the wso2server.sh or wso2server.bat file in the /bin directory
  3. Once the server starts, point your Web browser to https://localhost:9443/carbon/
  4. Developer and Administrator Console is available at https://localhost:9443/console
  5. End User Portal is available at https://localhost:9443/myaccount
  6. For more information, see the Installation Guide

WSO2 Identity Server Distribution Directory Structure

        CARBON_HOME
        ├── bin
        ├── dbscripts
        ├── lib
        ├── repository
        │   ├── components
        │   ├── conf
        │   │   └── identity
        │   │       ├── identity-providers
        │   │       └── service-providers
        │   ├── database
        │   ├── deployment
        │   ├── logs
        │   ├── resources
        │   │   ├── identity
        │   │   └── security
        │   └── tenants
        └── tmp


- bin
  Contains various scripts .sh & .bat scripts.

- dbscripts
  Contains the database creation & seed data population SQL scripts for
  various supported databases.

- lib
  Contains the basic set of libraries required to startup Carbon.

- repository
  The repository where Carbon artifacts & Axis2 services and 
  modules deployed in WSO2 Carbon are stored. 
  In addition to this other custom deployers such as
  dataservices and axis1services are also stored.

    - components
      Contains all OSGi related libraries and configurations.

    - conf
      Contains server configuration files. Ex: axis2.xml, carbon.xml

        - identity
          Contains all configurations related to identity.

            - identity-providers
              Identity providers configured using file

            - service-providers
              Service providers configured using file

    - database
      Contains the WSO2 Registry & User Manager database.

    - deployment
      Contains server side and client side Axis2 repositories. 
      All deployment artifacts should go into this directory.

    - logs
      Contains all log files created during execution.

    - resources
      Contains additional resources that may be required.

- tenants
  Directory will contain relevant tenant artifacts 
  in the case of a multitenant deployment.

- tmp
  Used for storing temporary files, and is pointed to by the
  java.io.tmpdir System property.


- LICENSE.txt
  Apache License 2.0 under which WSO2 Carbon is distributed.

- README.txt
  This document.

- release-notes.html
  Release information for WSO2 Carbon ${carbon.product.version}.

Secure sensitive information in carbon configuration files

There are sensitive information such as passwords in the carbon configuration. You can secure them by using secure vault. Please go through following steps to secure them with default mode.

  1. Configure secure vault with default configurations by running ciphertool script from bin directory.

ciphertool.sh -Dconfigure (in UNIX)

This script would do following configurations that you need to do by manually

(i) Replaces sensitive elements in configuration files, that have been defined in cipher-tool.properties, with alias token values.
(ii) Encrypts plain text password which is defined in cipher-text.properties file. (iii) Updates secret-conf.properties file with default keystore and callback class.

cipher-tool.properties, cipher-text.properties and secret-conf.properties files can be found at repository/conf/security directory.

  1. Start server by running wso2server script from bin directory

wso2server.sh (in UNIX)

By default mode, it would ask you to enter the master password (By default, master password is the password of carbon keystore and private key)

  1. Change any password by running ciphertool script from bin directory.

ciphertool -Dchange (in UNIX)

For more details see https://is.docs.wso2.com/en/5.11.0/setup/encrypting-passwords-with-cipher-tool

Support

We are committed to ensuring that your enterprise middleware deployment is completely supported from evaluation to production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

For more details and to take advantage of this unique opportunity, visit http://wso2.com/support/.

For more information on WSO2 Carbon, visit the WSO2 Oxygen Tank (http://wso2.org)

For more information about WSO2 Identity Server please see http://wso2.org/projects/identity or visit the WSO2 Oxygen Tank developer portal for addition resources.

For further details, see the WSO2 Carbon documentation at https://docs.wso2.com/display/Carbon4411/WSO2+Carbon+Documentation


(c) Copyright 2020 WSO2 Inc.

org.wso2.is

WSO2

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

Versions

Version
5.11.0-m33
5.11.0-m32
5.11.0-m31
5.11.0-m30
5.11.0-m29
5.11.0-m28
5.11.0-m27
5.11.0-m26
5.11.0-m25
5.11.0-m24
5.11.0-m23
5.11.0-m22
5.11.0-m21
5.11.0-m20
5.11.0-m19
5.11.0-m18
5.11.0-m17
5.11.0-m16
5.11.0-m15
5.11.0-m14
5.11.0-m13
5.11.0-m12
5.11.0-m11
5.11.0-m10
5.11.0-m9
5.11.0-m8
5.11.0-m7
5.11.0-m6
5.11.0-m5
5.11.0-m4
5.11.0-m3
5.11.0-m2
5.10.1-m1
5.10.0
5.10.0-m9
5.10.0-m3
5.10.0-m2
5.10.0-m1
5.10.0-beta3
5.10.0-beta2
5.10.0-beta
5.9.0
5.9.0-beta
5.8.1-m2
5.8.1-m1
5.8.0
5.8.0-m26
5.8.0-m25
5.8.0-m24
5.8.0-m23
5.8.0-m22
5.8.0-m21
5.8.0-m20
5.8.0-m19
5.8.0-m18
5.8.0-m17
5.8.0-m16
5.8.0-m15
5.8.0-m14
5.8.0-m13
5.8.0-m12
5.8.0-m11
5.8.0-m10
5.8.0-m9
5.8.0-m8
5.8.0-m7
5.8.0-m6
5.8.0-m5
5.8.0-m4
5.8.0-m3
5.8.0-m2
5.8.0-m1
5.8.0-beta5
5.8.0-beta4
5.7.0
5.7.0-m5
5.7.0-m4
5.7.0-m3
5.7.0-m2
5.7.0-m1
5.7.0-beta3
5.7.0-beta2
5.7.0-beta
5.7.0-alpha3
5.7.0-alpha2
5.7.0-alpha
5.6.0
5.6.0-m7
5.6.0-m6
5.6.0-m5
5.6.0-m4
5.6.0-m3
5.6.0-m2
5.6.0-m1
5.6.0-beta
5.6.0-alpha2
5.6.0-alpha
5.5.0
5.5.0-m4
5.5.0-m3
5.5.0-m2
5.5.0-m1
5.5.0-beta
5.5.0-alpha3
5.5.0-alpha2
5.5.0-alpha
5.4.1-update5
5.4.1-update4
5.4.1-update3
5.4.1-update2
5.4.1-update1
5.4.1
5.4.0-update6
5.4.0-update5
5.4.0-update4
5.4.0-update3
5.4.0-update2
5.4.0-update1
5.4.0
5.4.0-beta
5.4.0-alpha10
5.4.0-alpha9
5.4.0-alpha8
5.4.0-alpha7
5.4.0-alpha6
5.4.0-alpha5
5.4.0-alpha4