<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Auth]]></title><description><![CDATA[<p>Hey! if i have my own auth server (running on localhost),  can i use client.Auth.Login(&quot;email&quot;,&quot;password&quot;) to get access token that I'll use in Room onAuth() ? Is there any available examples?</p>
]]></description><link>http://discuss.colyseus.io/topic/453/auth</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 16:32:51 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/453.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Mar 2021 14:45:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auth on Invalid Date]]></title><description><![CDATA[<p>Hey! if i have my own auth server (running on localhost),  can i use client.Auth.Login(&quot;email&quot;,&quot;password&quot;) to get access token that I'll use in Room onAuth() ? Is there any available examples?</p>
]]></description><link>http://discuss.colyseus.io/post/1460</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1460</guid><dc:creator><![CDATA[niaina]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Auth on Invalid Date]]></title><description><![CDATA[<p>What you are saying is a bit unclear. I am not sure that you are running your own open id connect or oauth2 server locally so what are you running?<br />
If you are running one, then you should be able to read up on how to validate the idtoken manually or find a library that does it for you.</p>
<p>If you are not running your own OIDC server then all bets are off and you just have to validate it using what ever function you can write up on your own.</p>
<p>But since you are running it locally then perhaps this is for dev/test purposes and you can just run your server in development mode where you just handwave the check inside onAuth.</p>
<p>Personally I use firebase login for my project which has a library that provides a verifyIdToken() function that handles the whole verification for me. Professionally I have rolled my own verification based on the OIDC standard and the OIDC provider we are using.</p>
]]></description><link>http://discuss.colyseus.io/post/1461</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1461</guid><dc:creator><![CDATA[AllNamesRTaken]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Auth on Invalid Date]]></title><description><![CDATA[<p>May be I'll explain more. So the problem is the following: when connect to the LoginServer + the json , it works perfectly. The req.body contains the json I send. I'm using Insomnia here. <img src="/assets/uploads/files/1616982881947-bug1-resized.png" alt="0_1616986471155_bug1.PNG" class="img-responsive img-markdown" /></p>
<p>But when using client.Auth.Login , It give me back &quot;email or password incorrect&quot;. So I took a look at req.body and it's always empty.<br />
<img src="/assets/uploads/files/1616983433372-bug2-resized.png" alt="0_1616987025291_bug2.PNG" class="img-responsive img-markdown" /></p>
]]></description><link>http://discuss.colyseus.io/post/1463</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1463</guid><dc:creator><![CDATA[niaina]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>