<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:08:48 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-13815] Realm+Google auth</title>
                <link>https://jira.mongodb.org/browse/DOCS-13815</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;
&lt;p&gt;We used to have pretty nice docs around implementing Google Auth with Stitch, which is a killer feature (e.g. &lt;a href=&quot;https://docs.mongodb.com/guides/stitch/react_googleauth/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/guides/stitch/react_googleauth/&lt;/a&gt;), but after we changed to Realm, those things are nowhere to be found&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;Scopeofchanges&quot;&gt;&lt;/a&gt;Scope of changes&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;ImpacttoOtherDocs&quot;&gt;&lt;/a&gt;Impact to Other Docs&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;MVP%28WorkandDate%29&quot;&gt;&lt;/a&gt;MVP (Work and Date)&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Resources%28ScopeorDesignDocs%2CInvision%2Cetc.%29&quot;&gt;&lt;/a&gt;Resources (Scope or Design Docs, Invision, etc.)&lt;/h2&gt;
</description>
                <environment></environment>
        <key id="1435845">DOCS-13815</key>
            <summary>Realm+Google auth</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13203">Gone away</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="alex.komyagin@mongodb.com">Alexander Komyagin</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 Aug 2020 00:56:49 +0000</created>
                <updated>Fri, 27 Oct 2023 20:16:05 +0000</updated>
                            <resolved>Wed, 8 Sep 2021 14:34:29 +0000</resolved>
                                                                    <component>Realm</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4044881" author="JIRAUSER1258340" created="Wed, 8 Sep 2021 14:34:29 +0000"  >&lt;p&gt;Just ran across this old issue. Realm docs do have a &lt;a href=&quot;https://docs.mongodb.com/realm/authentication/google/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Google Authentication guide&lt;/a&gt;, with links to code examples for each SDK, so I assume this was added at some point after this ticket was filed. Closing this ticket as the work is done.&lt;/p&gt;</comment>
                            <comment id="3331733" author="alex.komyagin@10gen.com" created="Mon, 10 Aug 2020 22:28:31 +0000"  >&lt;p&gt;Ok, I see, thanks Nicholas! I didn&apos;t realize that I was looking at the wrong SDK. Do you still have the code you used for the testing by any chance?&lt;/p&gt;

&lt;p&gt;I think it will be helpful if we had a diagram explaining how the whole App&amp;lt;&amp;#45;&amp;gt;Realm server&amp;lt;&amp;#45;&amp;gt;Google interaction works for OAuth, as it might be a bit confusing&lt;/p&gt;</comment>
                            <comment id="3331401" author="nick.larew" created="Mon, 10 Aug 2020 19:42:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alex.komyagin&quot; class=&quot;user-hover&quot; rel=&quot;alex.komyagin&quot;&gt;alex.komyagin&lt;/a&gt; Thanks for opening a ticket! We retired the Stitch version of the guide and created a simpler version for Realm based on anonymous authentication, with the goal of really focusing in on how to set up a react app with the Realm SDK.&lt;/p&gt;

&lt;p&gt;The Google OAuth page you linked should have all the info you need for configuring Google authentication. The backend configuration steps are essentially identical to what they were in Stitch, so those docs should be correct. What do you mean by the application url here? The page lists &lt;a href=&quot;https://realm.mongodb.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://realm.mongodb.com&lt;/a&gt; as the &lt;b&gt;Authorized JavaScript Origins&lt;/b&gt; URL which worked in my testing a while back.&lt;/p&gt;

&lt;p&gt;The SDK flow for Google OAuth did change slightly in the new Realm SDKs. The page you linked to in your comment is specific to the Node SDK (which is also used for React Native apps). The &lt;a href=&quot;https://docs.mongodb.com/realm/web/authenticate/#google-oauth&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;equivalent page for the Web SDK&lt;/a&gt; includes a breakdown of what&apos;s necessary for web applications.&lt;/p&gt;
</comment>
                            <comment id="3328906" author="alex.komyagin@10gen.com" created="Sat, 8 Aug 2020 01:07:19 +0000"  >&lt;p&gt;Actually, I found a page in the quick start &lt;a href=&quot;https://docs.mongodb.com/realm/node/authenticate/#google-oauth&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/realm/node/authenticate/#google-oauth&lt;/a&gt; that suggests a different flow than Stitch. Does this mean we changed things? If that&apos;s the case, I think docs should explicitly call this out to avoid confusing users. Plus, we&apos;d need to change the &lt;a href=&quot;https://docs.mongodb.com/realm/authentication/google/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Google OAuth configuration page&lt;/a&gt; to mention that the &quot;Authorized JavaScript Origins&quot; in the google project should have the application url.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 10 Aug 2020 19:42:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 22 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 22 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alex.komyagin@mongodb.com</customfieldvalue>
            <customfieldvalue>dachary.carey@mongodb.com</customfieldvalue>
            <customfieldvalue>nick.larew@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxzblr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxm28n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxyxv3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>