Skip to content

Releases: joegasewicz/react-google-oauth2.0

0.1.2

17 Jun 15:50
Compare
Choose a tag to compare

Changed

Releases 0.1.2

Useful for End to End testing.

Below example with CypressIO

    Cypress.Commands.add("loginSSO",  (overrides = {}) => {
        Cypress.log({
            "name": "loginSSO",
        });
        if(!getAccessToken()) {
            exchangeToken(CLIENT_ID, REFRESH_TOKEN, CLIENT_SECRET) // <---- new function
            .then(_ => {
                cy.request({
                    method: 'GET',
                    url: `${API_URL}/staff`,
                    headers: createOAuthHeaders(),
                });
            });
        }
    });

0.1.0

04 Jun 12:16
Compare
Choose a tag to compare

Releases 0.1.0

0.0.28-rc.2

04 Jun 12:02
Compare
Choose a tag to compare
0.0.28-rc.2 Pre-release
Pre-release

Releases 0.0.28-rc.2

v0.0.28

26 May 17:37
51faf70
Compare
Choose a tag to compare
Merge pull request #30 from joegasewicz/Disconnect_auto_login_#27

bump to 0.0.28-rc.0

v0.0.24

02 Feb 19:53
Compare
Choose a tag to compare
Bump to v0.0.24

v0.0.23

19 Jan 13:16
Compare
Choose a tag to compare

Changed

Releases 0.0.23 - This change effects content-type headers (Please make sure you do not rely on this library to add in these headers now!)

  • Remove application/json Content Type from createOAuthHeaders() headers. Issue #14

v0.0.20

02 Dec 18:35
Compare
Choose a tag to compare
recursive calls to server #5