<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="127357" data-post-id="127357">
  <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
                  </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><code>OAuth2</code> is a client used to communicate with an OAuth 2.0 server. <code>PowAssent</code> has a built-in OAuth 2.0 client too that’s used to connect with google/facebook/etc.</p>
<p><code>PhoenixOauth2Provider</code> is the OAuth 2.0 server.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="127357" 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/user-authentication-in-phoenix/118/106">Post #105</a>
	                </div>
	            </div>
              <div id="likers-container-127357" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="127357"
                     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 #105"></div>
  </section>
</div>
    <div class="postbit" id="127359" data-post-id="127359">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>OK, that makes sense.</p>
<p>Let me see if I got it.</p>
<p><strong>OAuth2</strong> and <strong>PhoenixOauth2Provider</strong> don’t actually do any of the same things.</p>
<p><strong>OAuth2</strong> only communicates with OAuth servers/providers (Twitter, Facebook, Google) but is not a provider itself (e.g. it’s not a login system for other apps to use like a native mobile app one might build to go with one’s web app).</p>
<p><strong>PhoenixOauth2Provider</strong> creates a provider, and does not need to integrate with Pow.</p>
<p><strong>PowAssent</strong> does the same thing as <strong>OAuth2</strong> but works out of the box with Pow.</p>
<p>Btw, I noticed OAuth2 package actually depends on <a href="https://hex.pm/packages/oauth2" rel="nofollow">PowAssent</a>. Which further confused me about what each does :).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="127359" 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/user-authentication-in-phoenix/118/107">Post #106</a>
	                </div>
	            </div>
              <div id="likers-container-127359" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="127359"
                     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 #106"></div>
  </section>
</div>
    <div class="postbit" id="127362" data-post-id="127362">
  <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
                  </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>You got it.</p>
<aside class="quote no-group" data-username="Owens" data-post="107" data-topic="118">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/owens/48/11597_2.png" class="avatar"> Owens:</div>
<blockquote>
<p>Btw, I noticed OAuth2 package actually depends on <a href="https://hex.pm/packages/oauth2" rel="nofollow">PowAssent</a>. Which further confused me about what each does :).</p>
</blockquote>
</aside>
<p>Yeah, it was used in older pre-release versions of <code>PowAssent</code>. The dependency has been removed since <code>0.1.0-rc.1</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="127362" 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/user-authentication-in-phoenix/118/108">Post #107</a>
	                </div>
	            </div>
              <div id="likers-container-127362" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="127362"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>