Giter Club home page Giter Club logo

carbon-auth's Introduction

Carbon Auth


Branch Build Status(Jenkins) Build Status(TravisCI)
master Build Status Build Status

Carbon Auth is a common authentication platform for Carbon 5 based products.

Carbon Auth contains several components such as:

  • OAuth2 Client Registration
  • OAuth2 Token Endpoint
  • OAuth2 Token Introspection
  • OAuth2 Scope Registration
  • SCIM
  • User Info
  • User Stores

How to build from the source

Prerequisites

Steps

  1. Install above prerequisites if they have not been already installed
  2. Get a clone from this repository
  3. Run one of the following maven commands from carbon-auth directory
    • To build with the tests
       mvn clean install 
    • To build without running any unit/integration test
       mvn clean install -Dmaven.test.skip=true

How to Contribute

Contact us

WSO2 Carbon developers can be contacted via the mailing lists:

carbon-auth's People

Contributors

harsha89 avatar lakmali avatar maheshika avatar malinthaprasan avatar mushir33 avatar pubudu538 avatar ruks avatar sanjeewa-malalgoda avatar tharindu1st avatar tmkasun avatar uvindra avatar wso2-jenkins-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

carbon-auth's Issues

Use seperate namespaces for oauth and user management related configs

Currently, it has one config which tends to be growing.

wso2.carbon.auth:
    # User Store Configurations
  userStoreConfiguration:
    connectorType: JDBC
    hashAlgo: SHA256
    iterationCount: 4096
    jdbcProperties:
      dataSource: WSO2_UM_DB
    keyLength: 256
    ldapProperties:
      ldap.ConnectionName: cn=admin,dc=example,dc=org
      ldap.GroupEntryObjectClass: groupOfNames
      ldap.UserNameSearchFilter: (&(objectClass=person)(uid=?))
      ldap.ConnectionURL: ldap://localhost:389
      ldap.InitialContextFactory: com.sun.jndi.ldap.LdapCtxFactory
      ldap.connectorClass: org.wso2.carbon.auth.user.store.connector.ldap.LDAPUserStoreConnector
      ldap.GroupSearchBase: ou=Groups,dc=example,dc=org
      ldap.ConnectionPassword: admin
      ldap.UserNameAttribute: uid
      ldap.GroupSearchFilter: (&(objectClass=groupOfNames)(cn=?))
      ldap.UserEntryObjectClass: identityPerson
      ldap.GroupAttribute: cn
      ldap.SecurityAuthentication: simple
      ldap.UserNameListFilter: (objectClass=person)
      ldap.GroupListFilter: (objectClass=groupOfNames)
      ldap.UserSearchBase: ou=Users,dc=example,dc=org
    readOnly: false
    superUser: admin
    superUserPass: admin
    # Key Management Configurations
  keyManagerConfigs:
      # Access token default validity period
    defaultTokenValidityPeriod: 3600

@SerializedName property does not work properly

public class RegistrationRequestDTO {
@SerializedName("redirect_uris")
private List redirectUris = new ArrayList();
}

With this { "redirect_uris" : "aaaa" } should properly be mapped to the java object but it does not work.

We need to double check and fix.

Refresh Token Grant not populating user

Description:

Refresh Token Grant not populating user

Steps to reproduce:

1.Generate token from password grant
2. Generate token from Refresh token generated from above.
3. Introspect token generated from [2].

Remove checkstyle <skip> tags

Wrong property for object property mappings in REST API DTOs

Ex:

public class UpdateRequestDTO {
@JsonProperty("redirect_uris")
private List redirectUris = new ArrayList();

@JsonProperty("client_name")
private String clientName = null;

@JsonProperty("grant_types")
private List grantTypes = new ArrayList();

}

msf4j is using GSON for Object <-> JSON mapping. We need to use com.google.gson.annotations.SerializedName instead of com.fasterxml.jackson.annotation.JsonProperty

Need to fix this and regenerate the code properly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.