Skip to content

Changes needed for latest documentation #3

@rwu2359

Description

@rwu2359

Change Post to:
/oauth2/v4/token HTTP/1.1

Change Token URL to:
https://www.googleapis.com/oauth2/v4/token

Change HOST URL to:
www.googleapis.com

Change Redirect URI to:
urn:ietf:wg:oauth:2.0:oob:auto

Change SetVariable is #137 of …GetNewAuthCode to;

~ResultStart	=	Position ( ~ResultSource; "code="; 1; 1 ) -1 ;

				// We drop the code which precedes the code
~ObjectLength	=	~ResultLength - ~ResultStart ;
~Object 		=	Right ( ~ResultSource; ~ObjectLength );

				// We drop the code which precedes the 'Named Pair': ‘code’ 
~ValueStart	=	Position (~Object; "code=" ; 1; 1 ) + 5;

				// We determinw the position of the character before the start of the value of ‘&’
~ValueEnd	=	Position (~Object; "&" ;  1; 1) ;

Change SetVariable in #207 to:
Let([
_QuoteChar = Char(34) ;
~Response = OAuth2FMProfiles::g_Temp_ReturnedText;
~OpenQuote = " " & _QuoteChar ;
~CloseQuote = _QuoteChar & "="
];

Substitute ( ~Response ;
[ "{" ; "" ] ;
[ "}" ; "" ] ;
[ ": " ; "=" ]; //changed
[ ~OpenQuote ; "$" ] ;
[ ~CloseQuote ; "=" ] ;
[ " " ; "" ] ;
[ "," ; " ;" ]
)

)

Change SetVariable is #110 of …RefreshToken to;
Let([
_QuoteChar = Char(34) ;
~Response = OAuth2FMProfiles::g_Temp_ReturnedText;
~OpenQuote = " " & _QuoteChar ;
~CloseQuote = _QuoteChar & "="
];

Substitute ( ~Response ;
[ "{" ; "" ] ;
[ "}" ; "" ] ;
[ ": " ; "=" ]; //changed
[ ~OpenQuote ; "$" ] ;
[ ~CloseQuote ; "=" ] ;
[ " " ; "" ] ;
[ "," ; " ;" ]
)

)

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