<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="144820" data-post-id="144820">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jgwmaxwell" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jgwmaxwell/120/16872_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jgwmaxwell
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi!</p>
<p>Thanks for this library, it’s a really nice mix of flexible and batteries-included. I’m finding myself struggling a little with a multi-tenancy situation that isn’t using PG schemas - I wonder if you wouldn’t mind giving your thoughts?</p>
<p>Essentially <code>User</code> belongs to <code>Account</code>, but <code>User.email</code> is only unique within the <code>Account</code>. <code>Accounts</code> are segmented by the accessing domain, and there’s some plug middleware in place that pulls the correct <code>Account</code> into the <code>conn.private</code> storage, but I can’t work out a way of ensuring that this gets merged into the User Context for queries etc within Pow without re-implementing the entire context class from scratch. This <em>is</em> an option, but it’s a bit of a rubbish one <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"> <code>prefix</code> in <code>repo_opts</code> gets special cased, but would you be interested in a PR that maybe pulled a Ecto queryable or the like from the conn which could be merged in to scope <code>User</code> accesses?</p>
<p>If there’s a system for this already then apologies for having missed it, would love to know what you think!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="144820" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/153">Post #152</a>
	                </div>
	            </div>
              <div id="likers-container-144820" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="144820"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #152"></div>
  </section>
</div>
    <div class="postbit" id="144851" data-post-id="144851">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="danschultzer" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/danschultzer/120/4942_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  danschultzer
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Pow Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I would recommend using the <code>prefix</code> option in <code>repo_opts</code>. You can use triplex to make it easy: <a href="https://hexdocs.pm/pow/multitenancy.html#content" class="inline-onebox" rel="noopener nofollow ugc">Multitenancy with Pow — Pow v1.0.39</a></p>
<p>If you want to handle it yourself by limiting scope, then there is really no way around it. You’ll have to set up a custom context module and custom changeset. A queryable wouldn’t work as for example authenticate uses <code>Repo.get_by/3</code>.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="144851" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/154">Post #153</a>
	                </div>
	            </div>
              <div id="likers-container-144851" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="144851"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #153"></div>
  </section>
</div>
    <div class="postbit" id="144854" data-post-id="144854">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jgwmaxwell" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jgwmaxwell/120/16872_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jgwmaxwell
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The problem here is that <code>Operations</code> doesn’t provide the config to custom <code>Context</code> implementations, otherwise this would be fine. Schemas/tenants is a perfectly fine approach for mutli-tenancy with small numbers of tenants but proven to be unmaintainable once in the thousands, which is why a more straightforward referential namespacing is desirable.</p>
<p>Would you be open to a PR that conditionally supplies the <code>config</code> to a custom <code>user_context</code> if the functions support the extra argument? It seems strange to me that <code>Pow.Ecto.Context</code> receives the argument but an implementation of it doesn’t.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="144854" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/155">Post #154</a>
	                </div>
	            </div>
              <div id="likers-container-144854" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="144854"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #154"></div>
  </section>
</div>
    <div class="postbit" id="144859" data-post-id="144859">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="danschultzer" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/danschultzer/120/4942_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  danschultzer
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Pow Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Oh I see.</p>
<p>That’s a good question on <code>Pow.Operations</code>! I’ve created an issue to address that on Github where I also explain the reasoning for not passing config along: <a href="https://github.com/danschultzer/pow/issues/283" class="inline-onebox" rel="noopener nofollow ugc">Should config be passed to custom users context? · Issue #283 · pow-auth/pow · GitHub</a></p>
<p>Feel free to join in there <img src="https://forum.elixirforum.com/images/emoji/apple/smile.png?v=15" title=":smile:" class="emoji" alt=":smile:" loading="lazy" width="20" height="20"></p>
<p>One solution that would work with the current Pow release is if the params include tenant (e.g. the login/registration form also has a hidden tenant id field). In that case the custom users context would work, and I believe this is the easiest solution. Otherwise you would have to take full control over the flow with custom controllers.</p>
<p>Edit: I think the caveat with thousands of tenants may also be great to add to the multitenancy guide as alternative to <code>repo_opts</code>! After we figure out a solution I would be happy if you could share the solution with me to add to the guide.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="144859" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/156">Post #155</a>
	                </div>
	            </div>
              <div id="likers-container-144859" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="144859"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #155"></div>
  </section>
</div>
    <div class="postbit" id="144862" data-post-id="144862">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jgwmaxwell" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jgwmaxwell/120/16872_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jgwmaxwell
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks for that - I’ll pick this up with you over in Github! <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="144862" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/157">Post #156</a>
	                </div>
	            </div>
              <div id="likers-container-144862" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="144862"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #156"></div>
  </section>
</div>
    <div class="postbit" id="150730" data-post-id="150730">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="danschultzer" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/danschultzer/120/4942_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  danschultzer
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Pow Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<h3><a name="p-150730-pow-1014-released-1" class="anchor" href="#p-150730-pow-1014-released-1" aria-label="Heading link" rel="nofollow"></a>Pow 1.0.14 released</h3>
<p>Changelog: <a href="https://github.com/danschultzer/pow/blob/v1.0.14/CHANGELOG.md#v1014-2019-10-29" rel="noopener nofollow ugc">Github </a><br>
Hex: <a href="https://hex.pm/packages/pow/1.0.14" rel="nofollow">https://hex.pm/packages/pow/1.0.14 </a></p>
<h4><a name="p-150730-session-fingerprint-and-custom-metadata-2" class="anchor" href="#p-150730-session-fingerprint-and-custom-metadata-2" aria-label="Heading link" rel="nofollow"></a>Session fingerprint and custom metadata</h4>
<p>The big new feature is that you can now add custom metadata to the sessions. This paves the road to <a href="https://github.com/danschultzer/pow/issues/122" rel="noopener nofollow ugc">activity log and session management</a>, and easy use of <a href="https://github.com/danschultzer/pow/issues/271" rel="noopener nofollow ugc">sessions in LiveView</a>.</p>
<p>By default the session metadata will include a fingerprint that will persist between session renewals. It is also used by <code>PowPersistentSession</code> when creating a new session. New sessions created will invalidate any previous sessions that has the same fingerprint for increased security.</p>
<p>Read more in the docs to see examples such as how to store user agent and IP for a session:<br>
<a href="https://hexdocs.pm/pow/1.0.14/Pow.Plug.Session.html#module-custom-metadata" rel="noopener nofollow ugc">https://hexdocs.pm/pow/1.0.14/Pow.Plug.Session.html#module-custom-metadata</a></p>
<h4><a name="p-150730-production-checklist-3" class="anchor" href="#p-150730-production-checklist-3" aria-label="Heading link" rel="nofollow"></a>Production checklist</h4>
<p>Added a production checklist so you can ensure your app is ready for production run: <a href="https://hexdocs.pm/pow/1.0.14/production_checklist.html#content" rel="noopener nofollow ugc">https://hexdocs.pm/pow/1.0.14/production_checklist.html </a></p>
<h4><a name="p-150730-refactored-store-logic-4" class="anchor" href="#p-150730-refactored-store-logic-4" aria-label="Heading link" rel="nofollow"></a>Refactored store logic</h4>
<p>The stores in Pow now accepts term as keys rather than just binary. That is much more Erlang friendly and efficient (closer to how ETS/Mnesia works), and enable lookups like this:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">:ets.match(tab, {[:namespace, :key_1, :_], :"_"})
</code></pre>
<p>Pow is backwards compatible so it won’t break existing setups. The <a href="https://hexdocs.pm/pow/1.0.14/redis_cache_store_backend.html#content" rel="noopener nofollow ugc">Redis cache guide</a> has been updated to use the new setup.</p>
<p>The backend stores are now expected to be able to insert multiple objects at once to keep the operation atomic and isolated. This is pretty close to the ETS API and improves <code>Pow.Store.CredentialsCache.put/3</code> integrity as it inserts three objects at once.</p>
<p>Happy coding <img src="https://forum.elixirforum.com/images/emoji/apple/rocket.png?v=15" title=":rocket:" class="emoji" alt=":rocket:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="150730" data-batch-url="/posts/batch_likers">
                        9
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/158">Post #157</a>
	                </div>
	            </div>
              <div id="likers-container-150730" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="150730"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #157"></div>
  </section>
</div>
    <div class="postbit" id="151070" data-post-id="151070">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mohandass-pat" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mohandass-pat
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Is there any examples available for Pow Extensions like Invite in API level?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="151070" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/159">Post #158</a>
	                </div>
	            </div>
              <div id="likers-container-151070" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="151070"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #158"></div>
  </section>
</div>
    <div class="postbit" id="151079" data-post-id="151079">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="danschultzer" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/danschultzer/120/4942_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  danschultzer
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Pow Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="mohandass-pat" data-post="159" data-topic="15807" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/m/bc8723/48.png" class="avatar"> mohandass-pat:</div>
<blockquote>
<p>Is there any examples available for Pow Extensions like Invite in API level?</p>
</blockquote>
</aside>
<p>For <code>PowEmailConfirmation </code> and <code>PowResetPassword</code> there are: <a href="https://github.com/pow-auth/pow_site/issues/14" class="inline-onebox" rel="noopener nofollow ugc">Add full API guide with extensions like PowEmailConfirmation and PowResetPassword · Issue #14 · pow-auth/pow_site · GitHub</a></p>
<p>None for <code>PowInvitation</code>, but it should be easy to implement. You just have to set up controllers and call <code>PowInvitation.Plug.create_user/2</code> and <code>PowInvitation.Plug.update_user/2</code>. You can find more <a href="https://github.com/danschultzer/pow/tree/v1.0.14/lib/extensions/invitation" rel="noopener nofollow ugc">here</a> and <a href="https://hexdocs.pm/pow/1.0.14/PowInvitation.Plug.html#content" rel="noopener nofollow ugc">here</a>.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="151079" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/160">Post #159</a>
	                </div>
	            </div>
              <div id="likers-container-151079" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="151079"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #159"></div>
  </section>
</div>
    <div class="postbit" id="151484" data-post-id="151484">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="minhkhiemm" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/minhkhiemm/120/17931_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  minhkhiemm
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi <a class="mention" href="/u/danschultzer" rel="nofollow">@danschultzer</a>, i’m trying to make a dummy project like the document: <a href="https://hexdocs.pm/pow/api.html#content" class="inline-onebox" rel="noopener nofollow ugc">How to use Pow in an API — Pow v1.0.39</a> and getting into the error:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">[error] #PID&lt;0.421.0&gt; running WarehouseApiWeb.Endpoint (connection #PID&lt;0.420.0&gt;, stream id 1) terminated
Server: localhost:4000 (http)
Request: POST /api/registration
** (exit) an exception was raised:
    ** (FunctionClauseError) no function clause matching in Pow.Store.CredentialsCache.put/3
        (pow) lib/pow/store/credentials_cache.ex:70: Pow.Store.CredentialsCache.put([backend: Pow.Store.Backend.EtsCache], "450228a1-d8d2-4e11-a68f-17ac373d6fb3", %WarehouseApi.Users.User{__meta__: #Ecto.Schema.Metadata&lt;:loaded, "users"&gt;, confirm_password: nil, current_password: nil, email: "bob3@example.com", id: 8, inserted_at: ~N[2019-11-20 18:20:41], password: nil, password_hash: "$pbkdf2-sha512$100000$Y6t7vwfYiuFO6ZDFcMCDfg==$Rex3X/+yQWrTvXR4XKRgr0P4igCmhQrZYcTiqHerDoMZ4Rdc3+OPjJNPAlIbkftUv9bHNx50hTP+N7jmRKqUog==", updated_at: ~N[2019-11-20 18:20:41]})
        (warehouse_api) lib/warehouse_api_web/api_auth_plug.ex:38: WarehouseApiWeb.ApiAuthPlug.create/3
        (warehouse_api) lib/warehouse_api_web/api_auth_plug.ex:5: WarehouseApiWeb.ApiAuthPlug.do_create/3
        (pow) lib/pow/plug.ex:174: Pow.Plug.maybe_create_auth/3
        (warehouse_api) lib/warehouse_api_web/controllers/registration_controller.ex:11: WarehouseApiWeb.RegistrationController.create/2
        (warehouse_api) lib/warehouse_api_web/controllers/registration_controller.ex:1: WarehouseApiWeb.RegistrationController.action/2
        (warehouse_api) lib/warehouse_api_web/controllers/registration_controller.ex:1: WarehouseApiWeb.RegistrationController.phoenix_controller_pipeline/2
        (phoenix) lib/phoenix/router.ex:288: Phoenix.Router.__call__/2
        (warehouse_api) lib/warehouse_api_web/endpoint.ex:1: WarehouseApiWeb.Endpoint.plug_builder_call/2
        (warehouse_api) lib/plug/debugger.ex:122: WarehouseApiWeb.Endpoint."call (overridable 3)"/2
        (warehouse_api) lib/warehouse_api_web/endpoint.ex:1: WarehouseApiWeb.Endpoint.call/2
        (phoenix) lib/phoenix/endpoint/cowboy2_handler.ex:42: Phoenix.Endpoint.Cowboy2Handler.init/4
        (cowboy) /Users/anduong/warehouse_api/deps/cowboy/src/cowboy_handler.erl:41: :cowboy_handler.execute/2
        (cowboy) /Users/anduong/warehouse_api/deps/cowboy/src/cowboy_stream_h.erl:320: :cowboy_stream_h.execute/3
        (cowboy) /Users/anduong/warehouse_api/deps/cowboy/src/cowboy_stream_h.erl:302: :cowboy_stream_h.request_process/3
        (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

</code></pre>
<p>it looks like the update of Pow.Store.CredentialsCache.put/3.<br>
Thanks!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="151484" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/161">Post #160</a>
	                </div>
	            </div>
              <div id="likers-container-151484" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="151484"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #160"></div>
  </section>
</div>
    <div class="postbit" id="151485" data-post-id="151485">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="danschultzer" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/danschultzer/120/4942_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  danschultzer
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Pow Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yeah, <code>v1.0.14</code> introduces changes to the store API, and I forgot to update the API guide. I plan to release <code>v1.0.15</code> soon, it’ll will have the updated API guide.</p>
<p>You just need to change the following: <a href="https://github.com/danschultzer/pow/pull/317/files" class="inline-onebox" rel="noopener nofollow ugc">Update API guide by danschultzer · Pull Request #317 · pow-auth/pow · GitHub</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="151485" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pow-robust-modular-extendable-user-authentication-and-management-system/15807/162">Post #161</a>
	                </div>
	            </div>
              <div id="likers-container-151485" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="151485"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #161"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/15807/load_more?page=17">Load more posts (81 remaining)</a>
</div></template></turbo-stream>