Skip to content

User roles not syncing from IDMS to WordPress due to missing bearer token #603

@MartinPaulEve

Description

@MartinPaulEve

User roles are not syncing correctly from the IDMS to the associated WordPress site. This appears to be caused by a missing bearer token during the synchronization process.

Additional information:

  • More logging has now been added to help troubleshoot this issue.

Steps to reproduce:

  1. Trigger a role sync from the IDMS to WordPress.
  2. Observe the missing or incorrect role assignments.
  3. Review logs for missing bearer token in the request headers.

Expected behavior:

  • User roles should sync correctly from the IDMS to WordPress when the appropriate bearer token is supplied.

Actual behavior:

  • Roles do not sync, and logs indicate authentication/authorization failure due to missing bearer token.

Next steps:

  • Investigate authentication flow for role sync.
  • Ensure bearer token is generated and included in requests to WordPress.
  • Monitor logs with the new logging added for failures or missing tokens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions