Coder Social home page Coder Social logo

scim2's Introduction

SCIM2

SCIM 2.0 .Net Library. Especially designed for OKTA provisioning.

see also https://sites.google.com/diligente.nl/oktakladblok/scim-app-wizard or watch the demo at https://youtu.be/6XSloVbt15A

Early Access feature of Okta is to provision any application with SCIM (2.0) It's called SCIM App wizard and information can be found at https://help.okta.com/en/prod/Content/Topics/Apps/Apps_App_Integration_Wizard.htm

This project containts the SCIM2 Library and an Example SCIM2-server. The library is also available as nuget package at https://www.nuget.org/packages/Diligente_SCIM2/

Create a ashx page and implement the functions you need.

    public void ProcessRequest(HttpContext context)
    {
        // Authentication.HTTPHeader httpHeader = new Authentication.HTTPHeader() { Token="secrettoken"};
        Authentication.BasicAuth authentication = new Authentication.BasicAuth() { Username = "username", Password = "password" };
        SCIM2 scim2 = new SCIM2(context.Request, context.Response);
        scim2.Authenticate(authentication);
        scim2.NewUser += Scim2_NewUser;
        scim2.GetUser += Scim2_GetUser;
        scim2.GetUsers += Scim2_GetUsers;
        scim2.GetUserKey += Scim2_GetUserKey;
        scim2.DelUser += Scim2_DelUser;
        scim2.UpdateUser += Scim2_UpdateUser;

        scim2.Log += Scim2_Log;

        scim2.Process();
    }

scim2's People

Contributors

fabianzoon avatar

Watchers

 avatar  avatar

scim2's Issues

Authentication failed issue

case 1 : if i am using
Authentication mode = basic
username and password as okta account admin userId and password i am getting below error
or
Authentication mode = HTTP Header

image

image
I am replicating your SDK users code
image
image

case 2 : if i am using username and password as username and password with above same setup
getting below error
image

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.