Skip to content

Need a little help with ouath2  #6

@Khnaz35

Description

@Khnaz35

Hi Afsar,
This might be not a valid request but can you help with this i am trying to connect to get to data studio from app script and want to use oauth2 validation method for this

`function getAuthType() {
var cc = DataStudioApp.createCommunityConnector();
return cc.newAuthTypeResponse()
.setAuthType(cc.AuthType.OAUTH2)
.build();
}

function isAdminUser() {
return true;
}`

Trying this one but couldn't get clear https://github.com/googleworkspace/apps-script-oauth2

Thanks in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions