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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Nice library. Will definitely check it out for my next app!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="130100" 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/123">Post #122</a>
	                </div>
	            </div>
              <div id="likers-container-130100" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="130100"
                     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 #122"></div>
  </section>
</div>
    <div class="postbit" id="130155" data-post-id="130155">
  <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="blatyo" data-post="122" 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/user_avatar/forum.elixirforum.com/blatyo/48/4554_2.png" class="avatar"> blatyo:</div>
<blockquote>
<p>Is it possible to only use a session cookie for a session, without the need of a backend store?</p>
</blockquote>
</aside>
<p>Yeah, there’s a section about it in the readme describing how you can use <code>Phoenix.Token</code> instead of the default Pow session under <strong>Authorization plug</strong>: <a href="https://github.com/danschultzer/pow#authorization-plug" class="inline-onebox" rel="noopener nofollow ugc">GitHub - pow-auth/pow: Robust, modular, and extendable user authentication system · 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="130155" data-batch-url="/posts/batch_likers">
                        2
                      </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/124">Post #123</a>
	                </div>
	            </div>
              <div id="likers-container-130155" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="130155"
                     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 #123"></div>
  </section>
</div>
    <div class="postbit" id="130169" data-post-id="130169">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="blatyo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/blatyo/120/4554_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  blatyo
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Conduit Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Oh, thanks. I missed that.</p>
<p>Also, want to say thanks for this library. It’s been a pleasure to work with so far.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="130169" data-batch-url="/posts/batch_likers">
                        2
                      </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/125">Post #124</a>
	                </div>
	            </div>
              <div id="likers-container-130169" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="130169"
                     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 #124"></div>
  </section>
</div>
    <div class="postbit" id="131064" data-post-id="131064">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I just replaced <a href="https://github.com/smpallen99/coherence" rel="noopener nofollow ugc">coherence</a> in my <a href="https://github.com/axelclark/ex338" rel="noopener nofollow ugc">ex338</a> app.  Using the <a href="https://github.com/danschultzer/pow/blob/master/guides/COHERENCE_MIGRATION.md" rel="noopener nofollow ugc">Migrating from Coherence</a> guide was very straightforward.  I used the <a href="https://github.com/danschultzer/pow/tree/master/lib/extensions/persistent_session" rel="noopener nofollow ugc">PowPersistentSession</a>, <a href="https://github.com/danschultzer/pow/tree/master/lib/extensions/reset_password" rel="noopener nofollow ugc">PowResetPassword</a> and <a href="https://github.com/danschultzer/pow/tree/master/lib/extensions/invitation" rel="noopener nofollow ugc">PowInvitation</a> extensions with <a href="https://github.com/danschultzer/pow/blob/master/guides/SWOOSH_MAILER.md" rel="noopener nofollow ugc">Swoosh Mailer.</a>  I also used <a href="https://github.com/danschultzer/pow/blob/master/guides/REDIS_CACHE_STORE_BACKEND.md" rel="noopener nofollow ugc">Redis cache store backend guide</a> since I host it on Heroku.</p>
<p>It took me a few commits to get all the configuration set up, but here are the 1st two commits for anyone interested.<br>
<a href="https://github.com/axelclark/ex338/commit/a386e80046ed2f7a6c05e104b06f1761434a483d" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/axelclark/ex338/commit/a386e80046ed2f7a6c05e104b06f1761434a483d</a><br>
<a href="https://github.com/axelclark/ex338/commit/4a34d8d38bba580bcef9a786214de451a06972b9" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/axelclark/ex338/commit/4a34d8d38bba580bcef9a786214de451a06972b9</a></p>
<p>…through…<br>
<a href="https://github.com/axelclark/ex338/commit/c3b1b8b6893fcd44f7e9d921a79813eddd7fbcbb" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/axelclark/ex338/commit/c3b1b8b6893fcd44f7e9d921a79813eddd7fbcbb</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="131064" 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/126">Post #125</a>
	                </div>
	            </div>
              <div id="likers-container-131064" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="131064"
                     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 #125"></div>
  </section>
</div>
    <div class="postbit" id="131207" data-post-id="131207">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi!,</p>
<p>Thanks for the wonderful library, it was a breeze to setup and get it working took very little time <img src="https://forum.elixirforum.com/images/emoji/apple/smiley.png?v=15" title=":smiley:" class="emoji" alt=":smiley:" loading="lazy" width="20" height="20"></p>
<p>One tiny issue I noticed is that the <code>Cache-Control</code> headers that come by default for the <code>/session/new</code> and <code>/registration/*</code> routes are not ideal. Pow’s internal controller sets the header to <code>max-age=0, private, must-revalidate</code> for the login form page. This means, if a user logs in through the login page and clicks the back button on the browser, the login form will be shown again and he won’t be automatically redirected.</p>
<p>IMO the <code>Cache-Control</code> header for all session and registration routes should be set to <code>no-store</code> by default so that if the user navigates to the login/signup pages via history, the user is redirected properly instead of being shown a stale form.</p>
<p>What do 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="131207" 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/127">Post #126</a>
	                </div>
	            </div>
              <div id="likers-container-131207" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="131207"
                     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 #126"></div>
  </section>
</div>
    <div class="postbit" id="131222" data-post-id="131222">
  <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>That’s great to hear, thanks!</p>
<p>The cache control header is <a href="https://hexdocs.pm/plug/Plug.Conn.html#module-response-fields" rel="noopener nofollow ugc">what Plug sets by default</a> (same default that rails uses). Pow doesn’t set anything. It’s a good question whether Pow should set a cache control header.</p>
<p>Doesn’t the default header mean that the cache is revalidated right away? The <code>max-age</code> is 0, so the cache is stale from the get go, and <code>must-revalidate</code> ensures that stale response is not used. I only have limited understanding of browser cache, but it looks like the above should trigger a new response (that would be the redirect as the user has been authenticated).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="131222" 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/128">Post #127</a>
	                </div>
	            </div>
              <div id="likers-container-131222" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="131222"
                     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 #127"></div>
  </section>
</div>
    <div class="postbit" id="131228" data-post-id="131228">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>True, but the subtle difference here is how the back button works in browsers. Unfortunately browsers don’t respect <code>expiry</code> or <code>max-age</code> directives in <code>Cache-Control</code> when it comes to history-lists. There is a good longer-form explanation <a href="https://madhatted.com/2013/6/16/you-do-not-understand-browser-history" rel="noopener nofollow ugc">here</a>.</p>
<p>So, say a user while logged in, types out <code>session/new</code> in the address bar and presses return, the browser notices that the login page is stale since <code>max-age</code> is 0 and sends a request to the server, at which point phoenix knows they’re already logged in, and redirects them appropriately. This works as expected.</p>
<p>Instead, If the user clicks the back button and goes to <code>session/new</code> somewhere in their history, they will just see the login page again and they can interact with the form, resubmit it etc.., we do not want that to happen. I can make gif to show this behavior when I get home.</p>
<p>I think this happens because, the <code>private</code> directive tells the browser that <code>/session/new</code> can be cached by the browser locally, and history doesn’t respect <code>max-age</code> being 0, so no request is triggered and the form shows up again.</p>
<p>If we set <code>no-store</code> directives, then this doesn’t happen. Nothing from the response is cached, so even if the user goes to <code>session/new</code> via back-button, the browser still has to make a fresh request at which point phoenix will redirect appropriately.</p>
<p>Just to be sure, I checked how github handles this, and they do have <code>no-store, no-cache</code> in <code>Cache-Control</code>.</p>
<p></p><div class="lightbox-wrapper"><a class="lightbox" href="https://forum.elixirforum.com/uploads/default/original/2X/3/3810c6d42af670cee26a3f36f14e818b7fc91ad0.png" data-download-href="https://forum.elixirforum.com/uploads/default/3810c6d42af670cee26a3f36f14e818b7fc91ad0" title="2019-06-07-202501_3840x1080_scrot" rel="nofollow"><img src="https://forum.elixirforum.com/uploads/default/optimized/2X/3/3810c6d42af670cee26a3f36f14e818b7fc91ad0_2_690x359.png" alt="2019-06-07-202501_3840x1080_scrot" data-base62-sha1="7ZYGioEdvTWeMtdZ1I1QZC7PB7O" width="690" height="359" srcset="https://forum.elixirforum.com/uploads/default/optimized/2X/3/3810c6d42af670cee26a3f36f14e818b7fc91ad0_2_690x359.png, https://forum.elixirforum.com/uploads/default/optimized/2X/3/3810c6d42af670cee26a3f36f14e818b7fc91ad0_2_1035x538.png 1.5x, https://forum.elixirforum.com/uploads/default/original/2X/3/3810c6d42af670cee26a3f36f14e818b7fc91ad0.png 2x" data-dominant-color="EEF0F2"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">2019-06-07-202501_3840x1080_scrot</span><span class="informations">1343×700 111 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div><p></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="131228" data-batch-url="/posts/batch_likers">
                        2
                      </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/129">Post #128</a>
	                </div>
	            </div>
              <div id="likers-container-131228" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="131228"
                     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 #128"></div>
  </section>
</div>
    <div class="postbit" id="131252" data-post-id="131252">
  <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>That’s a good point. I’ve added an issue and opened a PR for this (using <code>no-cache, no-store, must-revalidate</code>):</p>
<p><a href="https://github.com/danschultzer/pow/issues/212" rel="noopener nofollow ugc">https://github.com/danschultzer/pow/issues/212</a><br>
<a href="https://github.com/danschultzer/pow/issues/213" rel="noopener nofollow ugc">https://github.com/danschultzer/pow/issues/213</a></p>
<p>I’ll investigate this a bit more to see how other auth systems handles it, and what is the most common approach.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="131252" data-batch-url="/posts/batch_likers">
                        4
                      </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/130">Post #129</a>
	                </div>
	            </div>
              <div id="likers-container-131252" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="131252"
                     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 #129"></div>
  </section>
</div>
    <div class="postbit" id="131256" data-post-id="131256">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Amazing speed and responsiveness!</p>
<p>I’m still digging around to see what’s the best possible option to use. I found <a href="https://redbot.org" rel="noopener nofollow ugc">https://redbot.org</a> from MDN which I used to check the <code>Cache-Control</code> headers for a few well-known websites. So far, Twitter, Github AirBnB seem to set <code>no-store</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="131256" data-batch-url="/posts/batch_likers">
                        3
                      </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/131">Post #130</a>
	                </div>
	            </div>
              <div id="likers-container-131256" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="131256"
                     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 #130"></div>
  </section>
</div>
    <div class="postbit" id="132575" data-post-id="132575">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I would like to build a small game where people can be invited with a link to an open game. I will prompt them to create an account or just click a button “Play without an account”.</p>
<p>I would like to know if Pow can support this. Basically I would create a user with a random nickname and no email.</p>
<p>I find this solution simple : there is always a user ID available in the game code, no need to have two different mechanisms.</p>
<p>Would it be hard to have Pow to accept creating users without an email ?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="132575" 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/132">Post #131</a>
	                </div>
	            </div>
              <div id="likers-container-132575" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="132575"
                     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 #131"></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=14">Load more posts (111 remaining)</a>
</div></template></turbo-stream>