Skip to content

make graphAPI endpoints customizable #3

@davidcoutadeur

Description

@davidcoutadeur

My customer has multiple instance of graphAPI.
One of them is hosted in China and so has customized endpoints.
It would be nice to have these parameters customized in lsc.xml

I have listed these urls (may be non exhaustive):

in MsGraphApiAuthentication.java, the authentication URL:

        WebTarget authTarget = ClientBuilder.newClient()
            .register(JacksonFeature.class)
            .target("https://login.microsoftonline.com/")
            .path(tenant)
            .path("oauth2/v2.0/token");

in MsGraphApiDao.java, the users endpoint:

        usersClient = client
            .target("https://graph.microsoft.com")
            .path("v1.0")
            .path(USER_PATH);

For the moment, I only consider the need to have the FQDN customizable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions