Skip to content

Commit 458f911

Browse files
committed
fix social login not using private client and refactor applySLASPrivateClientToEndpoints regex
1 parent 445d4ef commit 458f911

File tree

1 file changed

+1
-1
lines changed
  • packages/template-retail-react-app/app

1 file changed

+1
-1
lines changed

packages/template-retail-react-app/app/ssr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const options = {
6060
// environment variable as this endpoint will return HTTP 501 if it is not set
6161
useSLASPrivateClient: false,
6262
applySLASPrivateClientToEndpoints:
63-
/oauth2\/(token|passwordless|password\/(login|token|reset|action))/,
63+
/oauth2\/(token|authorize|passwordless\/(login|token)|password\/(reset|action))/,
6464

6565
// If this is enabled, any HTTP header that has a non ASCII value will be URI encoded
6666
// If there any HTTP headers that have been encoded, an additional header will be

0 commit comments

Comments
 (0)