-
BREAKING: This PR reverts the API change made to the
verify
method in v0.6.0:-async verify(token: string): Promise<{ email: string; state?: string }> { +async verify(token: string): Promise<string> {
v0.6.0 mistakenly assumed
state
was part of the token, but it is simply returned in a query parameterstate
to the callback / redirect URI. As such, your application can extract it directly from the request.