Giter Site home page Giter Site logo

Comments (10)

devkiran avatar devkiran commented on June 6, 2024

Thank you for bringing this issue to our attention. We'll try to reproduce this issue and get back to you.

from jackson.

devkiran avatar devkiran commented on June 6, 2024

Please ensure that the directory connection type is set to azure-scim-v2. To comply with the SCIM 2.0 standard, it is necessary to append ?aadOptscim062020 to the SCIM URL.

For example api/scim/v2.0/876394bf-d131-4dba-bfcd-48f6bb9f5cb9/?aadOptscim062020

const { data, error } = await directorySync.directories.create({
  name: "Azure AD",
  tenant: "your-tenant-id",
  product: "your-product-id",
  type: "azure-scim-v2", // <-- this is the important part
});

from jackson.

Christophvh avatar Christophvh commented on June 6, 2024

The type is set correctly. But never seen any mention about the '?aadOptscim062020' part. Should this be added in the jackson store too? Or should we add this to the Azure portal? This should be done by default in the DB if it's that important.
Screenshot 2023-06-01 at 13 55 43
DB:
Screenshot 2023-06-01 at 13 58 00

from jackson.

devkiran avatar devkiran commented on June 6, 2024

Yeah, it is not there in the database yet. We'll think about it.

You'll get it when you call directories.get() method.

{
  data: {
    id: '876394bf-d131-4dba-bfcd-48f6bb9f5cb9',
    name: 'Azure',
    tenant: 'boxyhq1',
    product: 'demo',
    type: 'azure-scim-v2',
    log_webhook_events: false,
    scim: {
      path: '/api/scim/v2.0/876394bf-d131-4dba-bfcd-48f6bb9f5cb9/?aadOptscim062020',
      secret: 'l61O_0ZSjAHbLc5bXZpbdw',
      endpoint: 'http://localhost:5225/api/scim/v2.0/876394bf-d131-4dba-bfcd-48f6bb9f5cb9/?aadOptscim062020'
    },
    deactivated: false
  },
  error: null
}

In your case you can append /?aadOptscim062020 directly to SCIM endpoint in the Azure portal.

from jackson.

Christophvh avatar Christophvh commented on June 6, 2024

I added this to the Azure Portal, but got the same error when doing the scenario provided in my initial question. Also 'False' is still set as a string instead of a boolean.

So it seems like the '?' parameter does not change anything.

from jackson.

devkiran avatar devkiran commented on June 6, 2024

Can you try removing the user from the database and add again? I think it is because of the user already exists in the database with active = "False".

from jackson.

Christophvh avatar Christophvh commented on June 6, 2024

Can you try removing the user from the database and add again? I think it is because of the user already exists in the database with active = "False".

I did this. I fully cleared my DB and reran all provisions.

from jackson.

devkiran avatar devkiran commented on June 6, 2024

I can look into your setup if the changes doesn't work. Can you DM me on our discord channel https://discord.gg/uyb7pYt4Pa

from jackson.

devkiran avatar devkiran commented on June 6, 2024

This could be related to this issue: #1472

from jackson.

devkiran avatar devkiran commented on June 6, 2024

Feel free to reopen if this issue still exists.

from jackson.

Related Issues (20)

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.