Merge branch 'hotfix/4.11.1' into develop
This commit is contained in:
@@ -1 +1 @@
|
|||||||
4.11.0
|
4.11.1
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ describe('GoogleOAuthButton.vue', () => {
|
|||||||
const googleAuthUrl = new URL(wrapper.vm.getGoogleAuthUrl());
|
const googleAuthUrl = new URL(wrapper.vm.getGoogleAuthUrl());
|
||||||
const params = googleAuthUrl.searchParams;
|
const params = googleAuthUrl.searchParams;
|
||||||
expect(googleAuthUrl.origin).toBe('https://accounts.google.com');
|
expect(googleAuthUrl.origin).toBe('https://accounts.google.com');
|
||||||
expect(googleAuthUrl.pathname).toBe('/o/oauth2/auth/oauthchooseaccount');
|
expect(googleAuthUrl.pathname).toBe('/o/oauth2/auth');
|
||||||
expect(params.get('client_id')).toBe('clientId');
|
expect(params.get('client_id')).toBe('clientId');
|
||||||
expect(params.get('redirect_uri')).toBe(
|
expect(params.get('redirect_uri')).toBe(
|
||||||
'http://localhost:3000/test-callback'
|
'http://localhost:3000/test-callback'
|
||||||
|
|||||||
@@ -6,8 +6,7 @@ export default {
|
|||||||
// Creating the URL manually because the devise-token-auth with
|
// Creating the URL manually because the devise-token-auth with
|
||||||
// omniauth has a standing issue on redirecting the post request
|
// omniauth has a standing issue on redirecting the post request
|
||||||
// https://github.com/lynndylanhurley/devise_token_auth/issues/1466
|
// https://github.com/lynndylanhurley/devise_token_auth/issues/1466
|
||||||
const baseUrl =
|
const baseUrl = 'https://accounts.google.com/o/oauth2/auth';
|
||||||
'https://accounts.google.com/o/oauth2/auth/oauthchooseaccount';
|
|
||||||
const clientId = window.chatwootConfig.googleOAuthClientId;
|
const clientId = window.chatwootConfig.googleOAuthClientId;
|
||||||
const redirectUri = window.chatwootConfig.googleOAuthCallbackUrl;
|
const redirectUri = window.chatwootConfig.googleOAuthCallbackUrl;
|
||||||
const responseType = 'code';
|
const responseType = 'code';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
shared: &shared
|
shared: &shared
|
||||||
version: '4.11.0'
|
version: '4.11.1'
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *shared
|
<<: *shared
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@chatwoot/chatwoot",
|
"name": "@chatwoot/chatwoot",
|
||||||
"version": "4.11.0",
|
"version": "4.11.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"eslint": "eslint app/**/*.{js,vue}",
|
"eslint": "eslint app/**/*.{js,vue}",
|
||||||
|
|||||||
Reference in New Issue
Block a user