Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Getting: "The state token is invalid or has expired. Please try again." - no call of authCallback #2

Closed
@printminion

Description

@printminion

I am setting the callback function like in README.md

var service = OAuth1.createService('meh');
...
service.setCallbackFunction('authCallback');

I am jumping to "usercallback" Url where I am getting "The state token is invalid or has expired. Please try again.".

I am expecting that authCallback function will be called but its not the case.

Script is running under Googel for Works

https://script.google.com/a/macros/fancy-domain.org/d/ProjectId/usercallback?state=ADEpC8ytq-GO0eq0qvx-Uvv3IEPOBqwCN9DuPpyll_y0fPRnxgkx-kJwoszp8mvsiN_16JlL27bWc1I22xoielBWXqRNK0yywlsTtOzyAEIJHMlfA3sZpftblybm8Craztn3LSMxuybH9Sq68qCxouyb8PAojn5OnM2ygJf&oauth_token=b4f5a69611fb5c9083e9a3040089e92e&oauth_verifier=d30ea54d161ce0d8ed49ee52e6736225

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