{"id":793,"date":"2025-07-02T10:41:18","date_gmt":"2025-07-02T02:41:18","guid":{"rendered":"https:\/\/wp.relab.cc\/ooopenlab-en\/?p=793"},"modified":"2025-07-02T10:44:18","modified_gmt":"2025-07-02T02:44:18","slug":"how-to-setup-oauth","status":"publish","type":"post","link":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/","title":{"rendered":"How to Connect OAuth for OOOPEN Lab Project Login Authentication?"},"content":{"rendered":"\n<p>If you want players to log into your own membership system (brand website or member center) before starting to answer a psychological test or interactive project, OOOPEN Lab&#8217;s advanced feature &#8220;Connect brand member accounts to log in&#8221; provides two OAuth login flows.<\/p>\n\n\n\n<p>Whether you want to import user data through an existing SSO mechanism or control answer permissions to restrict participation to members only, this article explains how to set up the OAuth login process and provides return examples!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Table of Contents<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#001\">How to enable OAuth? Are there sample return data?<\/a><\/li>\n\n\n\n<li><a href=\"#002\"> How to set each field? Detailed explanations and examples below!<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#002-1\"> OAuth login URL<\/a><\/li>\n\n\n\n<li><a href=\"#002-2\">Returned authorization type (Grant Type)<\/a><\/li>\n\n\n\n<li><a href=\"#002-3\">(Conditional) Token exchange URL<\/a><\/li>\n\n\n\n<li><a href=\"#002-4\">How to obtain user data<\/a><\/li>\n\n\n\n<li><a href=\"#002-5\">(Conditional) OpenID Connect (OIDC) URL<\/a><\/li>\n\n\n\n<li><a href=\"#002-6\">(Conditional) User info API URL<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to Enable OAuth? Are There Sample Return Data?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Before purchasing, go to the project backend and click &#8220;Logging Requirements Settings&#8221;<\/li>\n\n\n\n<li>In the popup, select &#8220;Custom OAuth Login&#8221; to set the relevant information according to the fields<\/li>\n\n\n\n<li>Combine &#8220;Your Platform Name&#8221; and &#8220;Login Button Color&#8221; settings to adjust the login button style (see attached image below)<\/li>\n\n\n\n<li>Before official launch, remember to become a paid user and purchase the advanced feature &#8220;Connect brand member accounts to log in&#8221; to enable it (<a href=\"https:\/\/ooopenlab.cc\/blog\/post\/monthly-module-plans\" target=\"_blank\" rel=\"noreferrer noopener\">How do I choose a plan?<\/a>)<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXftAM_Gkg8yOZ286ytsgd-TveA-u7udvxUTrpaNfReQEEiajSqZakrzYfu9coyZcMXHfQJT_z4aa4bpIN5dciTBWuBsD7smMc0tWCrnk_XKWQIz1CyIZfo0OVoEh7QPvG3yazo2UQ?key=O2WbSjaaIhXUT8QbnbGBJw\" alt=\"\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How to Set Each Field? Detailed Explanations and Examples Below!<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">OAuth Login URL<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The URL opened when the user clicks &#8220;Login with (your platform)&#8221;, which will automatically include the redirect_uri URL parameter (URLSearchParams). After the user logs in, redirect the user to that URL.\n<ul class=\"wp-block-list\">\n<li>If your login URL is:<br><a href=\"https:\/\/mycoolapp.com\/oauth\/login?param1=value1&amp;param2=value2\">https:\/\/mycoolapp.com\/oauth\/login?param1=value1&amp;param2=value2<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>When the user clicks the login button from OOOPEN Lab, the opened URL will look like this:<br>https:\/\/mycoolapp.com\/oauth\/login?param1=value1&amp;param2=value2&amp;state=random_hash&amp;redirect_uri=https:\/\/ooopenlab.cc\/auth\/0123456789abcdef\/callback<br>\uff0a<em>Reminder: OOOPEN Lab will automatically append two parameters: redirect_uri and state<\/em><\/li>\n\n\n\n<li>After the user completes login in your interface, redirect them back to redirect_uri, and optionally include the state security parameter.<\/li>\n\n\n\n<li>Each module has its own dedicated redirect_uri. If your OAuth provider requires a whitelist setup for redirect_uri, you can copy the URL from the section shown below.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Returned Authorization Type (Grant Type)<\/h3>\n\n\n\n<p>The authorization type used when redirecting after user login. Please include the required parameters according to the instructions. We recommend the more secure Authorization Code method.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If using <a href=\"https:\/\/oauth.net\/2\/grant-types\/authorization-code\/\" target=\"_blank\" rel=\"noreferrer noopener\">Authorization Code<\/a>, include ?code={code} in the URL when redirecting back to redirect_uri. This parameter is your issued Authorization Code and will be used in the next token exchange step.<img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"316\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXepDjrRKzA72WEsNGHybQkaPt-H13n27jOKVI7_ebJKOeRhn45t5WuKY7kKzzXZOni-BY2wi59F_gWsxrIQ6zjsH2x3CjYo22YNI0pzFHdnPnhtg2AuhTL-TzJsJ4tD9EKkzreivQ?key=O2WbSjaaIhXUT8QbnbGBJw\"><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If using <a href=\"https:\/\/oauth.net\/2\/grant-types\/implicit\/\" target=\"_blank\" rel=\"noreferrer noopener\">Implicit Flow<\/a>, include ?access_token={access_token} in the URL when redirecting back to redirect_uri. This parameter is the access_token used in subsequent API calls.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">(Conditional) Token Exchange URL<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If using Authorization Code in the previous step, when the user is redirected back to OOOPEN Lab, this Token exchange URL is used to obtain access_token or id_token.<\/li>\n\n\n\n<li>The request will be sent using x-www-form-urlencoded POST, including the code and redirect_uri from the previous step as body parameters.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How to Obtain User Data<\/h3>\n\n\n\n<p>Choose whether to obtain user data using the OpenID Connect protocol or a regular API. According to your choice, set the corresponding connection URL.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">(Conditional) OpenID Connect (OIDC) URL<\/h3>\n\n\n\n<p>If you set up OpenID Connect, OOOPEN Lab will automatically connect using the Token set in the previous step. It will prioritize connecting with access_token. If id_token is also received, it will use id_token as well.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The request will be sent using x-www-form-urlencoded POST:<\/li>\n\n\n\n<li>For access_token connection, the access_token will be included in both the Bearer Header and x-www-form-urlencoded body. Choose either validation method according to your needs.<\/li>\n\n\n\n<li>For id_token connection, the id_token will be included in the x-www-form-urlencoded body.<\/li>\n\n\n\n<li>The OIDC return is in standard format. The sub field is the unique identifier used to distinguish users. If an Email field is also returned, it will be recorded in the response record as well.<\/li>\n<\/ul>\n\n\n\n<p>Example:<br>{<br>&#8220;sub&#8221;: &#8220;10769150350006150715113082367&#8221;,<br>&#8220;email&#8221;: &#8220;jsmith@example.com&#8221;,<br>&#8230;<br>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">(Conditional) User Info API URL<\/h3>\n\n\n\n<p>The request will be sent using GET.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For access_token connection, the access_token will be included in both the Bearer Header and the URL query. Choose either validation method according to your needs.<\/li>\n\n\n\n<li>The API must return a single JSON object and must include an id field. This id is the unique identifier used to distinguish users. If an Email field is also returned, it will be recorded in the response record as well.<\/li>\n<\/ul>\n\n\n\n<p>Example:<br>{<br>&#8220;id&#8221;: &#8220;user_id&#8221;,<br>&#8220;email&#8221;: &#8220;user@email.com&#8221;,<br>&#8230;<br>}<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Now register as a Creator and start building with the free trial right away!<\/h2>\n\n\n\n<p>Simply click \u201cLogin\/Register\u201d at the top right to become a Creator. With the free plan, you can create, edit, and publish unlimited projects with no time limit!<\/p>\n\n\n\n<p>The free plan currently offers unlimited trial use with some feature restrictions. You can view details in the backend under \u201cPurchase Plan &gt; Click to Expand Full Feature Comparison Table.\u201d Before officially publishing, simply purchase a plan online to instantly activate your account and unlock publishing permissions within 1 minute!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfwLRnfIkE1Sk80sChhfeFyDNCJ4lUp3zsvbAg0frF0VFGctOkEBD9yLCDLdkT6dNzKXfxcENwmkb4md8e2Eedf2YA94-KuDMsUKLg1681xEjlpeaHyx0F5YoChjYhMdSJdMWhi9Q?key=O2WbSjaaIhXUT8QbnbGBJw\" alt=\"\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Quick guide: link your brand\u2019s OAuth to OOOPEN Lab tests.<\/p>\n","protected":false},"author":20,"featured_media":809,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[7,8],"class_list":["post-793","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-instruction","tag-all-modules","tag-instruction"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Connect OAuth for OOOPEN Lab Project Login Authentication? - OOOPEN Lab EN<\/title>\n<meta name=\"description\" content=\"Integrate brand OAuth\/SSO with OOOPEN Lab: easily configure login URLs, auth-code flow, redirect URIs, and securely fetch user profiles via OIDC or API.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Connect OAuth for OOOPEN Lab Project Login Authentication? - OOOPEN Lab EN\" \/>\n<meta property=\"og:description\" content=\"Integrate brand OAuth\/SSO with OOOPEN Lab: easily configure login URLs, auth-code flow, redirect URIs, and securely fetch user profiles via OIDC or API.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/\" \/>\n<meta property=\"og:site_name\" content=\"OOOPEN Lab EN\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-02T02:41:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-02T02:44:18+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/wp.relab.cc\/ooopenlab-en\/wp-content\/uploads\/sites\/9\/2025\/07\/37-OAuth.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1281\" \/>\n\t<meta property=\"og:image:height\" content=\"769\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"OOOPEN Lab\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"OOOPEN Lab\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/\"},\"author\":{\"name\":\"OOOPEN Lab\",\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/#\\\/schema\\\/person\\\/24a6c193bebdf9a46bb3617ecc41f20c\"},\"headline\":\"How to Connect OAuth for OOOPEN Lab Project Login Authentication?\",\"datePublished\":\"2025-07-02T02:41:18+00:00\",\"dateModified\":\"2025-07-02T02:44:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/\"},\"wordCount\":876,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2025\\\/07\\\/37-OAuth.png\",\"keywords\":[\"All Modules\",\"Instruction\"],\"articleSection\":[\"Instruction\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/\",\"url\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/\",\"name\":\"How to Connect OAuth for OOOPEN Lab Project Login Authentication? - OOOPEN Lab EN\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2025\\\/07\\\/37-OAuth.png\",\"datePublished\":\"2025-07-02T02:41:18+00:00\",\"dateModified\":\"2025-07-02T02:44:18+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/#\\\/schema\\\/person\\\/24a6c193bebdf9a46bb3617ecc41f20c\"},\"description\":\"Integrate brand OAuth\\\/SSO with OOOPEN Lab: easily configure login URLs, auth-code flow, redirect URIs, and securely fetch user profiles via OIDC or API.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2025\\\/07\\\/37-OAuth.png\",\"contentUrl\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2025\\\/07\\\/37-OAuth.png\",\"width\":1281,\"height\":769},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/2025\\\/07\\\/02\\\/how-to-setup-oauth\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Connect OAuth for OOOPEN Lab Project Login Authentication?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/#website\",\"url\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/\",\"name\":\"OOOPEN Lab EN\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/#\\\/schema\\\/person\\\/24a6c193bebdf9a46bb3617ecc41f20c\",\"name\":\"OOOPEN Lab\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f47bcc41360becbc5cd24173e053ce246fd334d0fc949b0dcef43b9700663aec?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f47bcc41360becbc5cd24173e053ce246fd334d0fc949b0dcef43b9700663aec?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f47bcc41360becbc5cd24173e053ce246fd334d0fc949b0dcef43b9700663aec?s=96&d=mm&r=g\",\"caption\":\"OOOPEN Lab\"},\"url\":\"https:\\\/\\\/wp.relab.cc\\\/ooopenlab-en\\\/author\\\/ooopenlab\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Connect OAuth for OOOPEN Lab Project Login Authentication? - OOOPEN Lab EN","description":"Integrate brand OAuth\/SSO with OOOPEN Lab: easily configure login URLs, auth-code flow, redirect URIs, and securely fetch user profiles via OIDC or API.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/","og_locale":"en_US","og_type":"article","og_title":"How to Connect OAuth for OOOPEN Lab Project Login Authentication? - OOOPEN Lab EN","og_description":"Integrate brand OAuth\/SSO with OOOPEN Lab: easily configure login URLs, auth-code flow, redirect URIs, and securely fetch user profiles via OIDC or API.","og_url":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/","og_site_name":"OOOPEN Lab EN","article_published_time":"2025-07-02T02:41:18+00:00","article_modified_time":"2025-07-02T02:44:18+00:00","og_image":[{"width":1281,"height":769,"url":"http:\/\/wp.relab.cc\/ooopenlab-en\/wp-content\/uploads\/sites\/9\/2025\/07\/37-OAuth.png","type":"image\/png"}],"author":"OOOPEN Lab","twitter_card":"summary_large_image","twitter_misc":{"Written by":"OOOPEN Lab","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/#article","isPartOf":{"@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/"},"author":{"name":"OOOPEN Lab","@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/#\/schema\/person\/24a6c193bebdf9a46bb3617ecc41f20c"},"headline":"How to Connect OAuth for OOOPEN Lab Project Login Authentication?","datePublished":"2025-07-02T02:41:18+00:00","dateModified":"2025-07-02T02:44:18+00:00","mainEntityOfPage":{"@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/"},"wordCount":876,"commentCount":0,"image":{"@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/#primaryimage"},"thumbnailUrl":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-content\/uploads\/sites\/9\/2025\/07\/37-OAuth.png","keywords":["All Modules","Instruction"],"articleSection":["Instruction"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/","url":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/","name":"How to Connect OAuth for OOOPEN Lab Project Login Authentication? - OOOPEN Lab EN","isPartOf":{"@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/#primaryimage"},"image":{"@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/#primaryimage"},"thumbnailUrl":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-content\/uploads\/sites\/9\/2025\/07\/37-OAuth.png","datePublished":"2025-07-02T02:41:18+00:00","dateModified":"2025-07-02T02:44:18+00:00","author":{"@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/#\/schema\/person\/24a6c193bebdf9a46bb3617ecc41f20c"},"description":"Integrate brand OAuth\/SSO with OOOPEN Lab: easily configure login URLs, auth-code flow, redirect URIs, and securely fetch user profiles via OIDC or API.","breadcrumb":{"@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/#primaryimage","url":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-content\/uploads\/sites\/9\/2025\/07\/37-OAuth.png","contentUrl":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-content\/uploads\/sites\/9\/2025\/07\/37-OAuth.png","width":1281,"height":769},{"@type":"BreadcrumbList","@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/2025\/07\/02\/how-to-setup-oauth\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/wp.relab.cc\/ooopenlab-en\/"},{"@type":"ListItem","position":2,"name":"How to Connect OAuth for OOOPEN Lab Project Login Authentication?"}]},{"@type":"WebSite","@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/#website","url":"https:\/\/wp.relab.cc\/ooopenlab-en\/","name":"OOOPEN Lab EN","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wp.relab.cc\/ooopenlab-en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wp.relab.cc\/ooopenlab-en\/#\/schema\/person\/24a6c193bebdf9a46bb3617ecc41f20c","name":"OOOPEN Lab","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f47bcc41360becbc5cd24173e053ce246fd334d0fc949b0dcef43b9700663aec?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f47bcc41360becbc5cd24173e053ce246fd334d0fc949b0dcef43b9700663aec?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f47bcc41360becbc5cd24173e053ce246fd334d0fc949b0dcef43b9700663aec?s=96&d=mm&r=g","caption":"OOOPEN Lab"},"url":"https:\/\/wp.relab.cc\/ooopenlab-en\/author\/ooopenlab\/"}]}},"_links":{"self":[{"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/posts\/793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/comments?post=793"}],"version-history":[{"count":7,"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"predecessor-version":[{"id":808,"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/posts\/793\/revisions\/808"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/media\/809"}],"wp:attachment":[{"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.relab.cc\/ooopenlab-en\/wp-json\/wp\/v2\/tags?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}