<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>dinian (dinian)</title>
    <link>https://ruby-china.org/dinian</link>
    <description/>
    <language>en-us</language>
    <item>
      <title> turbo_stream 不能在微信中更新页面</title>
      <description>&lt;p&gt;使用 turbo_stream 更新页面，在手机浏览器请求正常显示，但是在微信中不显示，好像在微信是以 html 方式渲染页面的，请问有遇到过同样问题的吗？有没有解决办法？&lt;/p&gt;</description>
      <author>dinian</author>
      <pubDate>Sun, 29 May 2022 17:14:07 +0800</pubDate>
      <link>https://ruby-china.org/topics/42424</link>
      <guid>https://ruby-china.org/topics/42424</guid>
    </item>
    <item>
      <title>rails+devise+omniauth-oauth2 自定义策略请求 SSL 验证不通过，如何配置跳过 SSL 验证或者如何配置 ca 证书？</title>
      <description>&lt;ul&gt;
&lt;li&gt;自己开发应用想对接公司统一身份认证平台，没有第三方 gem，自定义 Strategies，初始化参数配置好后，第一步请求不通 404 错误：&lt;a href="https://xxxx.com/authserver/oauth2.0/authorize?client_id=892007686432169984&amp;amp;redirect_uri=http://localhost:3000/users/auth/zbu/callback&amp;amp;response_type=code&amp;amp;state=d0b1994051cecd3ccf3880e1b6cbdc0deddec70952887dae" rel="nofollow" target="_blank"&gt;https://xxxx.com/authserver/oauth2.0/authorize?client_id=892007686432169984&amp;amp;redirect_uri=http://localhost:3000/users/auth/zbu/callback&amp;amp;response_type=code&amp;amp;state=d0b1994051cecd3ccf3880e1b6cbdc0deddec70952887dae&lt;/a&gt;&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;使用 postman 请求也不通提示：SSL Error: Unable to verify the first certificate，然后关闭请求 Enable SSL certificate verification，请求后返回正常；或者配置 CA 证书 pem 文件，即使开启请求 Enable SSL certificate verification 请求也正常。&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;由此推测自定义 Strategies 可能请求 ssl 验证不通过，但是我不知道在自定义策略 request 阶段如何配置跳过 SSL 认证，或者配置的 CA 证书 pem 文件？希望有了解的朋友解惑，感谢！&lt;img title=":pray:" alt="🙏" src="https://twemoji.ruby-china.com/2/svg/1f64f.svg" class="twemoji"&gt; &lt;/li&gt;
&lt;/ul&gt;</description>
      <author>dinian</author>
      <pubDate>Sun, 03 Oct 2021 11:03:50 +0800</pubDate>
      <link>https://ruby-china.org/topics/41735</link>
      <guid>https://ruby-china.org/topics/41735</guid>
    </item>
  </channel>
</rss>
