Stop! Have you configured your OIDC providers in the Builder using the instructions linked above? Have you added your client id(s) to the SequenceConfig scriptable object in your Resources folder?
Once the user successfully signs in, an idToken is returned via deep link to the application.
In order to enable deep linking, we must register a custom URL scheme for our application. There are some platform specific requirements to set this up.
For social sign in to work in the editor, you will need to deploy a simple server on your local machine. We provide a sample implementation here.To deploy this sample server, please perform the following.
You should see Server listening on port 8080 printed to your terminal/command prompt
If you choose to deploy the server to somewhere else (a different port, a public server, etc.), you’ll want to change the OpenIdAuthenticator.RedirectUrl in your code before initiating the sign in process
OpenIdAuthenticator.InjectRedirectUrl("the url for your deployed server");
Note: you’ll want to use a web client for your social sign in provider with http://localhost:8080/ (or your server url) whitelisted as a redirect url under Standalone Platforms in SequenceConfig
When configuring your social sign in web client credentials with Google (for example) for desktop platforms (and Android), you’ll want to whitelist https://api.sequence.app/oauth/callback as “Authorized redirect URIs”
In the Project window, browse to Assets > Plugins > Android.
a) Note: in Unity versions 2021.2 and up this path doesn’t exist by default. Please navigate to Edit > Project Settings > Player and under the Android Publishing Settings, enable Custom Main Manifest in the Build section. See https://docs.unity3d.com/Manual/deep-linking-android.html for more info.
If it doesn’t already exist, create a new file and name it AndroidManifest.xml.
Paste the following XML into the file, or, if you already have one, add the new keys from this XML to it.
Make sure to replace ‘sdk-powered-by-sequence’ with the Url Scheme you set in SequenceConfig
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" > <application> <activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@style/UnityThemeSelector" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="sdk-powered-by-sequence"/> <!-- substitute 'sdk-powered-by-sequence' with the Url Scheme you set in `SequenceConfig` --> </intent-filter> </activity> </application> </manifest>
b) Note: Unity 2022 versions prior to 2022.3.7f1 and 2023 versions prior to 2023.1.7f1, 2023.2.0b3, or 2023.3.0a1 contain a bug with Android deep-linking. Please use this XML instead.
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> <application> <activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@style/UnityThemeSelector" android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="unityplayer.UnityActivity" android:value="true" /> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="sdk-powered-by-sequence"/> <!-- substitute 'sdk-powered-by-sequence' with the Url Scheme you set in `SequenceConfig` --> </intent-filter> </activity> </application></manifest>
If you’re working with Unity 6, you may need to replace UnityPlayerActivity in your AndroidManifest with UnityPlayerGameActivity! You may also need to replace your android:theme; we’ve found “@style/BaseUnityGameActivityTheme” works well in our testing.
Social sign in on Web platforms uses React via the WebGLTemplate found under WebGLTemplates/SequenceReact. This has been validated on WebGL and WebGPU. To learn how to enable WebGPU in Unity, please see this forum post.Please note that Google is the only OIDC provider currently supported on Web platforms by our default SequenceReact WebGLTemplate; however, you are welcome to expand upon it to add support for the other OIDC providers supported by our API.
Drag this WebGLTemplates folder under Assets (or just drag the SequenceReact template into your existing WebGLTemplates folder is you already have one) such that you have Assets/WebGLTemplates/SequenceReact.
It is very important that your WebGLTemplates are at Assets/WebGLTemplates. Much like the Plugins folder, if they aren’t in this exact location, Unity will not pick them up!
Once you’ve added the SequenceReact template, you’ll want to restart the editor so that Unity picks up your newly added template.From here, you can select the template under Project Settings > Player Settings > Resolution and Presentation.
When building your WebGL app, if you are using any Compression Format (e.g. Gzip or Brotli), it is recommended to enable Decompression Fallback under Player Settings > Publishing Settings. Learn more about WebGL deployment here: https://docs.unity3d.com/Manual/webgl-deploying.html
When configuring your social sign in credentials with Google (for example), you’ll want to whitelist http://localhost:4444 and your game’s eventual hosted URL as “Authorized Javascript origins”
Don’t forget to subscribe to the SequenceWallet.OnWalletCreated event to receive your newly created wallet!
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sequence Docs","colors":{"primary":"#111111","light":"#B1A9FF","dark":"#111111"},"logo":{"light":"https://mintcdn.com/frenglish/jco-kCqEz4S4wsae/logo/sequence-composite-light.svg?fit=max\u0026auto=format\u0026n=jco-kCqEz4S4wsae\u0026q=85\u0026s=3d9f9a9752e8c8dda0d19bb1d835d80d","dark":"https://mintcdn.com/frenglish/jco-kCqEz4S4wsae/logo/sequence-composite-dark.svg?fit=max\u0026auto=format\u0026n=jco-kCqEz4S4wsae\u0026q=85\u0026s=c0fee4c8be0f336d770ef06b95c7a443"},"favicon":"/favicon.png","appearance":{"default":"dark","strict":true},"background":{"decoration":"gradient"},"navbar":{"primary":{"type":"button","label":"Sign In","href":"https://sequence.build"}},"footer":{"socials":{"x":"https://twitter.com/0xsequence","github":"https://github.com/0xsequence","discord":"https://discord.gg/sequence"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"contextual":{"options":["copy","view","chatgpt","claude"]},"navigation":{"global":{"anchors":[{"anchor":"Interactive Demo","icon":"wrench","href":"https://blueprints.sequence-demos.xyz/"},{"anchor":"Supported Chains","icon":"heart-pulse","href":"https://status.sequence.info/"},{"anchor":"Changelog","icon":"map","href":"https://0xsequence.featurebase.app/changelog"}]},"languages":[{"language":"en","href":"home"},{"language":"ja","href":"ja/home"},{"language":"es","href":"es/home"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"frenglish","hasAudioNarration":false,"actualSubdomain":"frenglish","customDomains":[],"gitSource":{"type":"github","owner":"viv-cheung","repo":"sequence_docs","deployBranch":"frenglish-translation","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae927cc55210c1811414922:success","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"en","tag":"APIs","count":182},{"language":"ja","tag":"API","count":181},{"language":"en","tag":"Endpoints","count":148},{"language":"ja","tag":"エンドポイント","count":147},{"language":"en","tag":"SDKs","count":118},{"language":"es","tag":"SDKs","count":118},{"language":"ja","tag":"SDK","count":118},{"language":"en","tag":"secret","count":70},{"language":"ja","tag":"シークレット","count":70},{"language":"en","tag":"Game Engine SDKs","count":54},{"language":"es","tag":"SDKs para Motores de Juego","count":54},{"language":"ja","tag":"ゲームエンジンSDK","count":54},{"language":"en","tag":"Solutions","count":52},{"language":"es","tag":"Soluciones","count":51},{"language":"ja","tag":"ソリューション","count":51},{"language":"en","tag":"Web SDK","count":50},{"language":"es","tag":"SDK Web","count":50},{"language":"ja","tag":"Web SDK","count":50},{"language":"en","tag":"Analytics","count":46},{"language":"ja","tag":"アナリティクス","count":46},{"language":"en","tag":"Metadata","count":44},{"language":"ja","tag":"メタデータ","count":44},{"language":"en","tag":"Unity","count":41},{"language":"es","tag":"Unity","count":41},{"language":"ja","tag":"Unity","count":41},{"language":"es","tag":"Hooks","count":37},{"language":"es","tag":"Incorporación","count":27},{"language":"es","tag":"Guías","count":26},{"language":"es","tag":"Funcionalidades","count":26},{"language":"es","tag":"Resources","count":20}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".bg-matrix-dark{background:linear-gradient(0deg, rgba(13, 13, 15, 1) 0%, rgba(13, 13, 15, 0.95) 5%, rgba(13, 13, 15, 0.8) 15%, rgba(17, 17, 17, 0.1) 30%, rgba(17, 17, 17, 0.1) 70%, rgba(13, 13, 15, 0.8) 85%, rgba(13, 13, 15, 0.95) 95%, rgba(13, 13, 15, 1) 100%),\n linear-gradient(\n 90deg,\n transparent 0%,\n rgba(17, 17, 17, 0.6) 40%,\n rgba(17, 17, 17, 0.6) 60%,\n transparent 100%\n ), url(https://pub-f048362b915448c9b012a2e03c189024.r2.dev/matrix-bg-dark.svg);background-size:cover;background-position:center center}img[alt=\"US\"]{display:none!important}div.relative.w-4.h-4.rounded-full:has(img[alt=\"US\"]){display:none!important}.bg-matrix-light{background:linear-gradient(\n 0deg,\n #f0f0f0 0%,\n rgba(240, 240, 240, 0.6) 30%,\n rgba(240, 240, 240, 0.6) 70%,\n #f0f0f0 100%\n ),\n linear-gradient(\n 90deg,\n transparent 0%,\n rgba(240, 240, 240, 0.6) 40%,\n rgba(240, 240, 240, 0.6) 60%,\n transparent 100%\n ), url(https://pub-f048362b915448c9b012a2e03c189024.r2.dev/matrix-bg-light.svg);background-size:cover;background-position:center center}.bg-gradient-dark{background:linear-gradient(\n 90deg,\n rgba(17, 17, 17, 0) 0%,\n rgba(17, 17, 17, 0.75) 50%,\n rgba(17, 17, 17, 0) 100%\n ),\n linear-gradient(180deg, #111 0%, rgba(17, 17, 17, 0) 40%, rgba(17, 17, 17, 0) 60%, #111 100%),\n linear-gradient(270deg, rgba(11, 106, 249, 0.25) 0%, rgba(29, 146, 255, 0.3) 100%)}.bg-gradient-light{background:linear-gradient(180deg, #f0f0f0 0%, rgba(255, 255, 255, 0) 49.83%, #f0f0f0 100%),\n linear-gradient(\n 90deg,\n #d2e4ff 0%,\n rgba(210, 228, 255, 0.5) 25.3%,\n rgba(255, 255, 255, 0) 49.83%,\n rgba(210, 228, 255, 0.5) 75.47%,\n #d2e4ff 100%\n )}"}],"page":{"pagePath":"sdk/unity/onboard/authentication/oidc","slug":"/sdk/unity/onboard/authentication/oidc","pageMetadata":{"title":"OIDC - Social Sign In","description":null,"href":"/sdk/unity/onboard/authentication/oidc"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Our SDK supports Social Sign In using `,_jsx(_components.a,{href:`https://openid.net/developers/how-connect-works/`,children:`OIDC`}),` with the `,_jsx(_components.a,{href:`https://auth0.com/docs/authenticate/login/oidc-conformant-authentication/oidc-adoption-implicit-flow`,children:`implicit flow`}),`.`]}),`\n`,_jsx(_components.p,{children:`Currently supported OIDC providers include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Google -> `,_jsx(_components.a,{href:`/solutions/builder/embedded-wallet/google-configuration`,children:`Builder Setup`})]}),`\n`,_jsxs(_components.li,{children:[`Apple -> `,_jsx(_components.a,{href:`/solutions/builder/embedded-wallet/apple-configuration`,children:`Builder Setup`})]}),`\n`]}),`\n`,_jsxs(Warning,{children:[`Stop! Have you configured your OIDC providers in the Builder using the instructions linked above? Have you added your client id(s) to the `,_jsx(_components.code,{children:`SequenceConfig`}),` scriptable object in your Resources folder?`]}),`\n`,_jsx(_components.p,{children:`Once the user successfully signs in, an idToken is returned via deep link to the application.\nIn order to enable deep linking, we must register a custom URL scheme for our application. There are some platform specific requirements to set this up.`}),`\n`,_jsx(Heading,{level:`3`,id:`editor`,children:`Editor`}),`\n`,_jsxs(_components.p,{children:[`For social sign in to work in the editor, you will need to deploy a simple server on your local machine. We provide a sample implementation `,_jsx(_components.a,{href:`https://gist.github.com/BellringerQuinn/d012cd29eb9e756fe3555d4d03b001b2`,children:`here`}),`.`]}),`\n`,_jsx(_components.p,{children:`To deploy this sample server, please perform the following.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Download and install Go: `,_jsx(_components.a,{href:`https://go.dev/dl/`,children:`https://go.dev/dl/`})]}),`\n`,_jsx(_components.li,{children:`Open a terminal/command prompt and verify your installation by typing`}),`\n`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`go version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:`Create a directory for your go project and a main.go file`}),`\n`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`mkdir myUnityServer`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cd myUnityServer`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`touch main.go`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsxs(_components.li,{children:[`Copy + paste the `,_jsx(_components.a,{href:`https://gist.github.com/BellringerQuinn/d012cd29eb9e756fe3555d4d03b001b2`,children:`gist`}),` into the main.go`]}),`\n`,_jsx(_components.li,{children:`Initialize the project by creating a go module`}),`\n`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`go mod init myUnityServer`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.ol,{start:`6`,children:[`\n`,_jsx(_components.li,{children:`Run the server`}),`\n`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`go run main.go`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.ol,{start:`7`,children:[`\n`,_jsxs(_components.li,{children:[`You should see `,_jsx(_components.code,{children:`Server listening on port 8080`}),` printed to your terminal/command prompt`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If you choose to deploy the server to somewhere else (a different port, a public server, etc.), you’ll want to change the `,_jsx(_components.code,{children:`OpenIdAuthenticator.RedirectUrl`}),` in your code before initiating the sign in process`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OpenIdAuthenticator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`InjectRedirectUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"the url for your deployed server\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Note: you’ll want to use a web client for your social sign in provider with `,_jsx(_components.code,{children:`http://localhost:8080/`}),` (or your server url) whitelisted as a redirect url under `,_jsx(_components.code,{children:`Standalone Platforms`}),` in `,_jsx(_components.code,{children:`SequenceConfig`})]}),`\n`,_jsx(Heading,{level:`3`,id:`ios`,children:`iOS`}),`\n`,_jsx(Heading,{level:`4`,id:`sign-in-with-apple`,children:`Sign in with Apple`}),`\n`,_jsxs(_components.p,{children:[`This SDK supports native Sign in with Apple via the popular `,_jsxs(_components.a,{href:`https://github.com/lupidan/apple-signin-unity`,children:[_jsx(_components.code,{children:`apple-signin-unity`}),` package`]}),`. This `,_jsxs(_components.a,{href:`https://developer.apple.com/documentation/xcode/configuring-sign-in-with-apple#Add-the-Sign-in-with-Apple-capability-to-your-app`,children:[`requires the `,_jsx(_components.code,{children:`Sign in with Apple`}),` capability in XCode`]}),` in order to function. Provided you have `,_jsxs(_components.a,{href:`https://docs.sequence.xyz/sdk/unity/installation#package-manager---recommended`,children:[`imported the `,_jsx(_components.code,{children:`Setup`}),` scripts via Package Manager > Samples`]}),` and/or have `,_jsx(_components.code,{children:`SignInWithApplePostprocessor.cs`}),` under an `,_jsx(_components.code,{children:`Editor`}),` subfolder, this capability will be added to your XCode builds automatically.`]}),`\n`,_jsxs(_components.p,{children:[`Please be aware that this capability is not supported by `,_jsx(_components.code,{children:`Personal Teams`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`other-social-platforms`,children:`Other Social Platforms`}),`\n`,_jsxs(_components.p,{children:[`All other social platforms are supported by default, just be sure to add your client IDs in `,_jsx(_components.code,{children:`SequenceConfig`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`macos`,children:`MacOS`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open the Windows/Mac/Linux Player Settings window (menu: Edit > Project Settings > Player Settings, then select Windows/Mac/Linux).`}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.code,{children:`Other Settings`}),`, then scroll down to `,_jsx(_components.code,{children:`Mac Configuration`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Expand the `,_jsx(_components.code,{children:`Supported URL schemes`}),` section, and add 1 to the size.`]}),`\n`,_jsxs(_components.li,{children:[`In the new `,_jsx(_components.code,{children:`Element N`}),` field, enter the URL scheme you’ve configured in `,_jsx(_components.code,{children:`SequenceConfig`}),`.`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/frenglish/DW77RR7YqAk4ljjJ/images/unity/unity-url-scheme-mac.png?fit=max\u0026auto=format\u0026n=DW77RR7YqAk4ljjJ\u0026q=85\u0026s=e144910e804e7c3d068eeeece3cebac7`,alt:`Mac URL Scheme`,\"data-og-width\":`1147`,width:`1147`,\"data-og-height\":`599`,height:`599`,\"data-path\":`images/unity/unity-url-scheme-mac.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/frenglish/DW77RR7YqAk4ljjJ/images/unity/unity-url-scheme-mac.png?w=280\u0026fit=max\u0026auto=format\u0026n=DW77RR7YqAk4ljjJ\u0026q=85\u0026s=f09c174a20f79859e3a269d88835776a 280w, https://mintcdn.com/frenglish/DW77RR7YqAk4ljjJ/images/unity/unity-url-scheme-mac.png?w=560\u0026fit=max\u0026auto=format\u0026n=DW77RR7YqAk4ljjJ\u0026q=85\u0026s=4b40be65145d7d2d87e2a28b2f07794a 560w, https://mintcdn.com/frenglish/DW77RR7YqAk4ljjJ/images/unity/unity-url-scheme-mac.png?w=840\u0026fit=max\u0026auto=format\u0026n=DW77RR7YqAk4ljjJ\u0026q=85\u0026s=38e0525a4687c31156167fe49cd98082 840w, https://mintcdn.com/frenglish/DW77RR7YqAk4ljjJ/images/unity/unity-url-scheme-mac.png?w=1100\u0026fit=max\u0026auto=format\u0026n=DW77RR7YqAk4ljjJ\u0026q=85\u0026s=c1373c3b6f4059cd572b403e6bd299d8 1100w, https://mintcdn.com/frenglish/DW77RR7YqAk4ljjJ/images/unity/unity-url-scheme-mac.png?w=1650\u0026fit=max\u0026auto=format\u0026n=DW77RR7YqAk4ljjJ\u0026q=85\u0026s=f28b52ba087727bfa00f13b1d7c2fcb6 1650w, https://mintcdn.com/frenglish/DW77RR7YqAk4ljjJ/images/unity/unity-url-scheme-mac.png?w=2500\u0026fit=max\u0026auto=format\u0026n=DW77RR7YqAk4ljjJ\u0026q=85\u0026s=cb8887e9eff8af6e1a2baa5e1bca8c11 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`pc`,children:`PC`}),`\n`,_jsx(_components.p,{children:`No additional steps required.`}),`\n`,_jsxs(Tip,{children:[`When configuring your social sign in `,_jsx(_components.em,{children:`web client`}),` credentials with Google (for example) for desktop platforms (and Android), you’ll want to whitelist `,_jsx(_components.a,{href:`https://api.sequence.app/oauth/callback`,children:`https://api.sequence.app/oauth/callback`}),` as “Authorized redirect URIs”`]}),`\n`,_jsx(Heading,{level:`3`,id:`android`,children:`Android`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In the Project window, browse to `,_jsx(_components.code,{children:`Assets > Plugins > Android`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`a) Note: in Unity versions 2021.2 and up this path doesn’t exist by default. Please navigate to `,_jsx(_components.code,{children:`Edit > Project Settings > Player`}),` and under the Android Publishing Settings, enable `,_jsx(_components.code,{children:`Custom Main Manifest`}),` in the Build section. See `,_jsx(_components.a,{href:`https://docs.unity3d.com/Manual/deep-linking-android.html`,children:`https://docs.unity3d.com/Manual/deep-linking-android.html`}),` for more info.`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`If it doesn’t already exist, create a new file and name it `,_jsx(_components.code,{children:`AndroidManifest.xml`}),`.`]}),`\n`,_jsx(_components.li,{children:`Paste the following XML into the file, or, if you already have one, add the new keys from this XML to it.`}),`\n`,_jsxs(_components.li,{children:[`Make sure to replace ‘sdk-powered-by-sequence’ with the Url Scheme you set in `,_jsx(_components.code,{children:`SequenceConfig`})]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c?`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`xml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.0\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` encoding`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"utf-8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`?>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`manifest`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` xmlns:android`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://schemas.android.com/apk/res/android\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` xmlns:tools`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://schemas.android.com/tools\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` >`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`application`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`activity`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"com.unity3d.player.UnityPlayerActivity\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@style/UnityThemeSelector\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` >`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`intent-filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`action`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.action.MAIN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`category`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.category.LAUNCHER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`intent-filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`intent-filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`action`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.action.VIEW\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`category`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.category.DEFAULT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`category`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.category.BROWSABLE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`data`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:scheme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sdk-powered-by-sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\" \u003c!-- substitute 'sdk-powered-by-sequence' with the Url Scheme you set in `SequenceConfig` -->\"})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`intent-filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`activity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`application`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`manifest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`b) Note: Unity 2022 versions prior to `,_jsx(_components.code,{children:`2022.3.7f1`}),` and 2023 versions prior to `,_jsx(_components.code,{children:`2023.1.7f1`}),`, `,_jsx(_components.code,{children:`2023.2.0b3`}),`, or `,_jsx(_components.code,{children:`2023.3.0a1`}),` contain a bug with Android deep-linking. Please use this XML instead.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`24`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`xml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.0\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` encoding`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"utf-8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`?>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`manifest`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` xmlns:android`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://schemas.android.com/apk/res/android\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` xmlns:tools`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://schemas.android.com/tools\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`application`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`activity`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"com.unity3d.player.UnityPlayerActivity\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@style/UnityThemeSelector\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:exported`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`intent-filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`action`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.action.MAIN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`category`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.category.LAUNCHER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`intent-filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`meta-data`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unityplayer.UnityActivity\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`intent-filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`action`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.action.VIEW\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`category`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.category.DEFAULT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`category`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android.intent.category.BROWSABLE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`data`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:scheme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sdk-powered-by-sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\" \u003c!-- substitute 'sdk-powered-by-sequence' with the Url Scheme you set in `SequenceConfig` -->\"})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`intent-filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`activity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`application`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`manifest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`i.e. add `,_jsx(_components.code,{children:`\u003cmeta-data android:name=\"unityplayer.UnityActivity\" android:value=\"true\" />`}),` after your first `,_jsx(_components.code,{children:`intent-filter`}),`. Please see `,_jsx(_components.a,{href:`https://forum.unity.com/threads/deep-linking-in-unity-2022-the-app-is-restarted.1447300/`,children:`https://forum.unity.com/threads/deep-linking-in-unity-2022-the-app-is-restarted.1447300/`}),` for more info.`]}),`\n`,_jsxs(Tip,{children:[`If you’re working with Unity 6, you may need to replace `,_jsx(_components.code,{children:`UnityPlayerActivity`}),` in your AndroidManifest with `,_jsx(_components.code,{children:`UnityPlayerGameActivity`}),`! You may also need to replace your `,_jsx(_components.code,{children:`android:theme`}),`; we’ve found “@style/BaseUnityGameActivityTheme” works well in our testing.`]}),`\n`,_jsx(Heading,{level:`3`,id:`web`,children:`Web`}),`\n`,_jsxs(_components.p,{children:[`Social sign in on Web platforms uses React via the `,_jsx(_components.a,{href:`https://docs.unity3d.com/Manual/webgl-templates.html`,children:`WebGLTemplate`}),` found under `,_jsx(_components.code,{children:`WebGLTemplates/SequenceReact`}),`. This has been validated on WebGL and WebGPU. To learn how to enable WebGPU in Unity, please see `,_jsx(_components.a,{href:`https://forum.unity.com/threads/early-access-to-the-new-webgpu-backend-in-unity-2023-3.1516621/`,children:`this forum post`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Please note that Google is the only OIDC provider currently supported on Web platforms by our default `,_jsx(_components.code,{children:`SequenceReact`}),` WebGLTemplate; however, you are welcome to expand upon it to add support for the other OIDC providers supported by our API.`]}),`\n`,_jsx(Heading,{level:`4`,id:`one-time-setup`,children:`One-time setup`}),`\n`,_jsxs(_components.p,{children:[`Drag this `,_jsx(_components.code,{children:`WebGLTemplates`}),` folder under `,_jsx(_components.code,{children:`Assets`}),` (or just drag the `,_jsx(_components.code,{children:`SequenceReact`}),` template into your existing `,_jsx(_components.code,{children:`WebGLTemplates`}),` folder is you already have one) such that you have `,_jsx(_components.code,{children:`Assets/WebGLTemplates/SequenceReact`}),`.`]}),`\n`,_jsxs(Warning,{children:[`It is very important that your `,_jsx(_components.code,{children:`WebGLTemplates`}),` are at `,_jsx(_components.code,{children:`Assets/WebGLTemplates`}),`. Much like the `,_jsx(_components.code,{children:`Plugins`}),` folder, if they aren’t in this exact location, Unity will not pick them up!`]}),`\n`,_jsxs(_components.p,{children:[`Once you’ve added the `,_jsx(_components.code,{children:`SequenceReact`}),` template, you’ll want to restart the editor so that Unity picks up your newly added template.`]}),`\n`,_jsxs(_components.p,{children:[`From here, you can select the template under `,_jsx(_components.code,{children:`Project Settings > Player Settings > Resolution and Presentation`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`building`,children:`Building`}),`\n`,_jsx(_components.p,{children:`After the one time setup, when you build your Unity project on Web platforms it will be built as part of a React project.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open up a command line at the root of your new build`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://pnpm.io/installation`,children:`Install pnpm`}),` if you don’t already have it`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pnpm install`}),` to install dependancies`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pnpm dev`}),` to run the project on your localhost (defaulting to port 4444 - configurable in `,_jsx(_components.code,{children:`SequenceReact/package.json`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.a,{href:`http://localhost:4444`,children:`http://localhost:4444`})]}),`\n`]}),`\n`,_jsxs(Warning,{children:[`When building your WebGL app, if you are using any `,_jsx(_components.code,{children:`Compression Format`}),` (e.g. Gzip or Brotli), it is recommended to enable `,_jsx(_components.code,{children:`Decompression Fallback`}),` under `,_jsx(_components.code,{children:`Player Settings > Publishing Settings`}),`. Learn more about WebGL deployment here: `,_jsx(_components.a,{href:`https://docs.unity3d.com/Manual/webgl-deploying.html`,children:`https://docs.unity3d.com/Manual/webgl-deploying.html`})]}),`\n`,_jsxs(Tip,{children:[`When configuring your social sign in credentials with Google (for example), you’ll want to whitelist `,_jsx(_components.a,{href:`http://localhost:4444`,children:`http://localhost:4444`}),` and your game’s eventual hosted URL as “Authorized Javascript origins”`]}),`\n`,_jsxs(Tip,{children:[`Don’t forget to subscribe to the `,_jsx(_components.code,{children:`SequenceWallet.OnWalletCreated`}),` event to receive your newly created wallet!`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"OIDC - Social Sign In","description":null,"href":"/sdk/unity/onboard/authentication/oidc"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Editor","slug":"editor","depth":3,"children":[]},{"title":"iOS","slug":"ios","depth":3,"children":[]},{"title":"Sign in with Apple","slug":"sign-in-with-apple","depth":4,"children":[]},{"title":"Other Social Platforms","slug":"other-social-platforms","depth":4,"children":[]},{"title":"MacOS","slug":"macos","depth":3,"children":[]},{"title":"PC","slug":"pc","depth":3,"children":[]},{"title":"Android","slug":"android","depth":3,"children":[]},{"title":"Web","slug":"web","depth":3,"children":[]},{"title":"One-time setup","slug":"one-time-setup","depth":4,"children":[]},{"title":"Building","slug":"building","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/frenglish/5928f07079c865a1/scripts/update_security_schemas.js","/_mintlify/custom/frenglish/c67a34dca3bb4682/snippets/databeat-tracker.js","/_mintlify/custom/frenglish/0281ffbe15eb5584/snippets/dist/databeat-tracker.umd.js","/_mintlify/custom/frenglish/dfa94ae2469b3e93/.github/scripts/fetch-frenglish-configuration.js","/_mintlify/custom/frenglish/e1a7512e5ad7bb7f/.github/scripts/format-locales.js","/_mintlify/custom/frenglish/6a222aac2b02a720/.github/scripts/translate.js"],"subdomain":"frenglish","siteName":"Sequence Docs","title":"OIDC - Social Sign In - Sequence Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/sdk/unity/onboard/authentication/oidc","matchLevel":0},"ja":{"href":"/ja/sdk/unity/onboard/authentication/oidc","matchLevel":1},"es":{"href":"/es/sdk/unity/onboard/authentication/oidc","matchLevel":1}}},"lastModified":"2026-01-07T08:00:51.077Z","originalFileLocation":"sdk/unity/onboard/authentication/oidc.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Sequence Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"OIDC - Social Sign In - Sequence Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sequence Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://frenglish.mintlify.site/_mintlify/api/og/v2?division=Authentication\u0026amp;title=OIDC+-+Social+Sign+In\u0026amp;theme=18334d0526fc2099ea2cc551\u0026amp;signature=175a2a5766bc2af8e6f6457885ee7a958c04e1fc9649e5cba145de3fecb285c4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"OIDC - Social Sign In - Sequence Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://frenglish.mintlify.site/_mintlify/api/og/v2?division=Authentication\u0026amp;title=OIDC+-+Social+Sign+In\u0026amp;theme=18334d0526fc2099ea2cc551\u0026amp;signature=175a2a5766bc2af8e6f6457885ee7a958c04e1fc9649e5cba145de3fecb285c4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/frenglish/R9VVH0lttj2_vGLm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sequence Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk/unity/onboard/authentication/oidc.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://frenglish.mintlify.app/ja/sdk/unity/onboard/authentication/oidc\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://frenglish.mintlify.app/es/sdk/unity/onboard/authentication/oidc\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://frenglish.mintlify.app/#organization\",\"name\":\"Sequence Docs\",\"url\":\"https://frenglish.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/frenglish/jco-kCqEz4S4wsae/logo/sequence-composite-light.svg?fit=max\u0026auto=format\u0026n=jco-kCqEz4S4wsae\u0026q=85\u0026s=3d9f9a9752e8c8dda0d19bb1d835d80d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://frenglish.mintlify.app#website\",\"name\":\"Sequence Docs\",\"url\":\"https://frenglish.mintlify.app\",\"publisher\":{\"@id\":\"https://frenglish.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc#webpage\",\"url\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc\",\"name\":\"OIDC - Social Sign In\",\"dateModified\":\"2026-01-07T08:00:51.077Z\",\"isPartOf\":{\"@id\":\"https://frenglish.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Game Engine SDKs\",\"item\":\"https://frenglish.mintlify.app/sdk/unity/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unity\",\"item\":\"https://frenglish.mintlify.app/sdk/unity/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Onboard\",\"item\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/intro\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Authentication\",\"item\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/intro\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"OIDC - Social Sign In\",\"item\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc#article\",\"headline\":\"OIDC - Social Sign In\",\"name\":\"OIDC - Social Sign In\",\"url\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc\",\"mainEntityOfPage\":{\"@id\":\"https://frenglish.mintlify.app/sdk/unity/onboard/authentication/oidc#webpage\"},\"dateModified\":\"2026-01-07T08:00:51.077Z\",\"publisher\":{\"@id\":\"https://frenglish.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://frenglish.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sequence Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sequence Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sdk/unity/onboard/authentication/oidc.md","siteName":"Sequence Docs","nav":{"global":{"anchors":[{"anchor":"Interactive Demo","icon":"wrench","href":"https://blueprints.sequence-demos.xyz/"},{"anchor":"Supported Chains","icon":"heart-pulse","href":"https://status.sequence.info/"},{"anchor":"Changelog","icon":"map","href":"https://0xsequence.featurebase.app/changelog"}]},"languages":[{"language":"en","tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home"}]},{"tab":"Solutions","pages":[{"title":"Solutions","href":"/solutions/overview"}]},{"tab":"SDKs","groups":[{"group":" ","pages":[{"title":"Overview","href":"/sdk/overview"}]},{"group":"Web SDK","pages":[{"title":"Web SDK","sidebarTitle":"Overview","href":"/sdk/web/overview"},{"title":"Getting Started with Web SDK","sidebarTitle":"Getting Started","href":"/sdk/web/getting-started"},{"title":"Migrate from Web SDK to Web SDK","sidebarTitle":"Migrate from v4 to v5","href":"/sdk/web/migration"},{"group":"Guides","pages":[{"title":"Send a sponsored transaction","sidebarTitle":"Sponsor transactions","href":"/sdk/web/guides/send-sponsored-tx"},{"title":"Pay Gas in ERC20","href":"/sdk/web/guides/pay-gas-in-erc20"},{"title":"On-ramp Overview","sidebarTitle":"On-ramp","href":"/sdk/web/guides/on-ramp"},{"title":"Smart Swaps","sidebarTitle":"Smart Swaps","href":"/sdk/web/guides/smart-swaps"},{"title":"On-ramp and Swap to a custom token","sidebarTitle":"On-ramp and Swap to a custom token","href":"/sdk/web/guides/on-ramp-and-swap"},{"title":"Checkout Modal","sidebarTitle":"Checkout Modal","href":"/sdk/web/guides/checkout"}]},{"group":"Hooks","pages":[{"title":"useAddFundsModal","sidebarTitle":"useAddFundsModal","href":"/sdk/web/hooks/useAddFundsModal"},{"title":"useChain","sidebarTitle":"useChain","href":"/sdk/web/hooks/useChain"},{"title":"useCheckoutModal","sidebarTitle":"useCheckoutModal","href":"/sdk/web/hooks/useCheckoutModal"},{"title":"useCheckWaasFeeOptions","sidebarTitle":"useCheckWaasFeeOptions","href":"/sdk/web/hooks/useCheckWaasFeeOptions"},{"title":"useERC1155SaleContractCheckout","sidebarTitle":"useERC1155SaleContractCheckout","href":"/sdk/web/hooks/useERC1155SaleContractCheckout"},{"title":"useGetCoinPrices","sidebarTitle":"useGetCoinPrices","href":"/sdk/web/hooks/useGetCoinPrices"},{"title":"useGetCollectiblePrices","sidebarTitle":"useGetCollectiblePrices","href":"/sdk/web/hooks/useGetCollectiblePrices"},{"title":"useListAccounts","sidebarTitle":"useListAccounts","href":"/sdk/web/hooks/useListAccounts"},{"title":"useGetContractInfo","sidebarTitle":"useGetContractInfo","href":"/sdk/web/hooks/useGetContractInfo"},{"title":"useGetExchangeRate","sidebarTitle":"useGetExchangeRate","href":"/sdk/web/hooks/useGetExchangeRate"},{"title":"useGetSwapPrices","sidebarTitle":"useGetSwapPrices","href":"/sdk/web/hooks/useGetSwapPrices"},{"title":"useGetSwapQuote","sidebarTitle":"useGetSwapQuote","href":"/sdk/web/hooks/useGetSwapQuote"},{"title":"useGetTransactionHistory","sidebarTitle":"useGetTransactionHistory","href":"/sdk/web/hooks/useGetTransactionHistory"},{"title":"useGetMultipleContractsInfo","sidebarTitle":"useGetMultipleContractsInfo","href":"/sdk/web/hooks/useGetMultipleContractsInfo"},{"title":"useGetSwapPrices","sidebarTitle":"useGetSwapPrices","href":"/sdk/web/hooks/useGetSwapPrices"},{"title":"useGetSwapQuote","sidebarTitle":"useGetSwapQuote","href":"/sdk/web/hooks/useGetSwapQuote"},{"title":"useGetTokenMetadata","sidebarTitle":"useGetTokenMetadata","href":"/sdk/web/hooks/useGetTokenMetadata"},{"title":"useGetTransactionHistory","sidebarTitle":"useGetTransactionHistory","href":"/sdk/web/hooks/useGetTransactionHistory"},{"title":"useMetadataClient","sidebarTitle":"useMetadataClient","href":"/sdk/web/hooks/useMetadataClient"},{"title":"useGetNativeTokenBalance","sidebarTitle":"useGetNativeTokenBalance","href":"/sdk/web/hooks/useGetNativeTokenBalance"},{"title":"useGetSingleTokenBalanceSummary","sidebarTitle":"useGetSingleTokenBalanceSummary","href":"/sdk/web/hooks/useGetSingleTokenBalanceSummary"},{"title":"useGetTransactionHistory","sidebarTitle":"useGetTransactionHistory","href":"/sdk/web/hooks/useGetTransactionHistory"},{"title":"useGetTransactionHistorySummary","sidebarTitle":"useGetTransactionHistorySummary","href":"/sdk/web/hooks/useGetTransactionHistorySummary"},{"title":"useIndexerClient","sidebarTitle":"useIndexerClient","href":"/sdk/web/hooks/useIndexerClient"},{"title":"useGetSwapPrices","sidebarTitle":"useGetSwapPrices","href":"/sdk/web/hooks/useGetSwapPrices"},{"title":"useGetSwapQuote","sidebarTitle":"useGetSwapQuote","href":"/sdk/web/hooks/useGetSwapQuote"},{"title":"useGetTokenBalancesByContract","sidebarTitle":"useGetTokenBalancesByContract","href":"/sdk/web/hooks/useGetTokenBalancesByContract"},{"title":"useGetTokenBalancesDetails","sidebarTitle":"useGetTokenBalancesDetails","href":"/sdk/web/hooks/useGetTokenBalancesDetails"},{"title":"useGetTokenBalancesSummary","sidebarTitle":"useGetTokenBalancesSummary","href":"/sdk/web/hooks/useGetTokenBalancesSummary"},{"title":"useGetTransactionHistory","sidebarTitle":"useGetTransactionHistory","href":"/sdk/web/hooks/useGetTransactionHistory"},{"title":"useIndexerGatewayClient","sidebarTitle":"useIndexerGatewayClient","href":"/sdk/web/hooks/useIndexerGatewayClient"},{"title":"useOpenConnectModal","sidebarTitle":"useOpenConnectModal","href":"/sdk/web/hooks/useOpenConnectModal"},{"title":"useOpenWalletModal","sidebarTitle":"useOpenWalletModal","href":"/sdk/web/hooks/useOpenWalletModal"},{"title":"useSelectPaymentModal","sidebarTitle":"useSelectPaymentModal","href":"/sdk/web/hooks/useSelectPaymentModal"},{"title":"useSignInEmail","sidebarTitle":"useSignInEmail","href":"/sdk/web/hooks/useSignInEmail"},{"title":"useStorage","sidebarTitle":"useStorage","href":"/sdk/web/hooks/useStorage"},{"title":"useSwapModal","sidebarTitle":"useSwapModal","href":"/sdk/web/hooks/useSwapModal"},{"title":"useTheme","sidebarTitle":"useTheme","href":"/sdk/web/hooks/useTheme"},{"title":"useWaasFeeOptions","sidebarTitle":"useWaasFeeOptions","href":"/sdk/web/hooks/useWaasFeeOptions"},{"title":"useWalletNavigation","sidebarTitle":"useWalletNavigation","href":"/sdk/web/hooks/useWalletNavigation"},{"title":"useWalletSettings","sidebarTitle":"useWalletSettings","href":"/sdk/web/hooks/useWalletSettings"},{"title":"useWallets","sidebarTitle":"useWallets","href":"/sdk/web/hooks/useWallets"}]},{"group":"Secondary Sales Marketplace","pages":[{"title":"Marketplace SDK","sidebarTitle":"Overview","href":"/sdk/marketplace-sdk/overview"},{"title":"Getting Started with Marketplace SDK","sidebarTitle":"Getting Started","href":"/sdk/marketplace-sdk/getting-started"},{"group":"Hooks","pages":[{"title":"Marketplace Actions","sidebarTitle":"Marketplace Actions","href":"/sdk/marketplace-sdk/hooks/marketplace-actions"},{"title":"Marketplace Data Hooks","sidebarTitle":"Marketplace Data Hooks","href":"/sdk/marketplace-sdk/hooks/marketplace-data-hooks"}]}]},{"title":"Custom Configuration Options","sidebarTitle":"Custom Configuration","href":"/sdk/web/custom-configuration"},{"title":"Custom Connectors in Web SDK","sidebarTitle":"Custom Connectors","href":"/sdk/web/custom-connectors"}]},{"group":"Game Engine SDKs","pages":[{"group":"Unity","pages":[{"title":"Overview","href":"/sdk/unity/overview"},{"title":"Quickstart","href":"/sdk/unity/quickstart"},{"title":"Installation","href":"/sdk/unity/installation"},{"title":"Setup","href":"/sdk/unity/setup"},{"title":"Boostrap your Game","href":"/sdk/unity/bootstrap_game"},{"group":"Onboard","pages":[{"group":"Authentication","pages":[{"title":null,"href":"/sdk/unity/onboard/authentication/intro"},{"title":"Email + OTP","description":null,"href":"/sdk/unity/onboard/authentication/email"},{"title":"OIDC - Social Sign In","href":"/sdk/unity/onboard/authentication/oidc"},{"title":"PlayFab","description":null,"href":"/sdk/unity/onboard/authentication/playfab"},{"title":"Guest","href":"/sdk/unity/onboard/authentication/guest"},{"title":"Federated Accounts","href":"/sdk/unity/onboard/authentication/federated-accounts"}]},{"title":"Secure Session Recovery","href":"/sdk/unity/onboard/recovering-sessions"},{"title":"Session Management","href":"/sdk/unity/onboard/session-management"},{"title":"Connecting External Wallets","href":"/sdk/unity/onboard/connecting-external-wallets"}]},{"group":"Power","pages":[{"title":"Read from Blockchain","href":"/sdk/unity/power/read-from-blockchain"},{"title":"Write to Blockcahin","href":"/sdk/unity/power/write-to-blockchain"},{"title":"Sign Messages","href":"/sdk/unity/power/sign-messages"},{"title":"Smart Contract Deployment","href":"/sdk/unity/power/deploy-contracts"},{"title":"Smart Contract Events","href":"/sdk/unity/power/contract-events"},{"title":"Wallet UI","href":"/sdk/unity/power/wallet-ui"},{"group":"Advanced Blockchain Interactions","pages":[{"title":"Introduction","href":"/sdk/unity/power/advanced/introduction"},{"title":"Wallets","href":"/sdk/unity/power/advanced/wallets"},{"title":"Clients","href":"/sdk/unity/power/advanced/clients"},{"title":"Transfers","href":"/sdk/unity/power/advanced/transfers"},{"title":"Smart Contracts","href":"/sdk/unity/power/advanced/contracts"},{"title":"Tokens","href":"/sdk/unity/power/advanced/tokens"}]}]},{"group":"Monetization","pages":[{"title":"Introduction","href":"/sdk/unity/monetization/intro"},{"title":"Checkout UI","href":"/sdk/unity/monetization/checkout-ui"},{"group":"Primary Sales","pages":[{"title":"Introduction","href":"/sdk/unity/monetization/primary-sales/intro"},{"title":"Credit Card Checkout","href":"/sdk/unity/monetization/primary-sales/credit-card-checkout"}]},{"group":"Secondary Sales Marketplace","pages":[{"title":"Introduction","href":"/sdk/unity/monetization/secondary-sales/intro"},{"title":"Building a Marketplace","href":"/sdk/unity/monetization/secondary-sales/building-a-marketplace"},{"title":"Creating Listings","href":"/sdk/unity/monetization/secondary-sales/creating-listings"},{"title":"Creating Offers","href":"/sdk/unity/monetization/secondary-sales/creating-offers"},{"title":"Accepting Offers","href":"/sdk/unity/monetization/secondary-sales/accepting-offers"},{"group":"How it Works","pages":[{"title":"Reading Orders","href":"/sdk/unity/monetization/secondary-sales/how-it-works/reading-orders"},{"title":"Filling Orders","href":"/sdk/unity/monetization/secondary-sales/how-it-works/filling-orders"},{"title":"Credit Card Checkout","href":"/sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout"}]}]},{"title":"Currency Swaps","href":"/sdk/unity/monetization/currency-swaps"},{"title":"Onboard User Funds","href":"/sdk/unity/monetization/onboard-user-funds"}]},{"title":"Upgrading from v2 to v3","href":"/sdk/unity/v2-to-v3-upgrade-guide"}]},{"group":"Unreal","pages":[{"title":"Introduction","href":"/sdk/unreal/introduction"},{"title":"Quickstart","href":"/sdk/unreal/quickstart"},{"title":"Installation","href":"/sdk/unreal/installation"},{"title":"Configuration","href":"/sdk/unreal/configuration"},{"title":"Using Sequence's Subsystems","sidebarTitle":"Blueprint Subsystems","href":"/sdk/unreal/subsystems"},{"title":"Bootstrap your Game","href":"/sdk/unreal/bootstrap_game"},{"title":"Bootstrap your UI","sidebarTitle":"Sign-In UI","href":"/sdk/unreal/user_interfaces"},{"title":"Authenticating Users","href":"/sdk/unreal/authentication"},{"title":"Write to Blockchain","href":"/sdk/unreal/write-to-blockchain"},{"title":"Read From Blockchain","href":"/sdk/unreal/read-from-blockchain"},{"title":"On-Ramp with Credit Card","href":"/sdk/unreal/onboard-user-funds"},{"title":"Advanced Blockchain Interactions","href":"/sdk/unreal/advanced"},{"title":"Packaging","sidebarTitle":"Platform Requirements","href":"/sdk/unreal/platforms"}]}]},{"group":"Other SDKs","pages":[{"group":"Typescript","pages":[{"title":"Overview","href":"/sdk/typescript/overview"},{"group":"Backend Integration","pages":[{"title":"Connect and send transactions","href":"/sdk/typescript/guides/backend/integration"}]},{"group":"Frontend Integration","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/sdk/headless-wallet/quickstart"},{"title":"Initialization and Authentication","sidebarTitle":"Authentication","href":"/sdk/headless-wallet/authentication"},{"title":"Using your Embedded Wallet","sidebarTitle":"Use Wallets","href":"/sdk/headless-wallet/use-wallets"},{"title":"Embedded Wallet Account Federation","sidebarTitle":"Multi-account Support","href":"/sdk/headless-wallet/account-federation"},{"title":"Session Management","sidebarTitle":"Manage Sessions","href":"/sdk/headless-wallet/manage-sessions"},{"title":"On-ramp","sidebarTitle":"On-ramp","href":"/sdk/headless-wallet/on-ramp"},{"title":"Fee Options","sidebarTitle":"Fee Options","href":"/sdk/headless-wallet/fee-options"},{"title":"Verification","sidebarTitle":"Backend Verification","href":"/sdk/headless-wallet/verification"},{"title":"Transaction receipts","sidebarTitle":"Transaction receipts","href":"/sdk/headless-wallet/transaction-receipts"}]}]},{"group":"Go","pages":[{"title":"Overview","href":"/sdk/go/overview"}]},{"group":"Mobile","pages":[{"title":"Mobile SDK for Embedded Wallet (React Native)","sidebarTitle":"React Native","href":"/sdk/mobile"}]}]}]},{"tab":"APIs","pages":[{"title":"APIs","href":"/api-references/overview"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/guides/guide-overview"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/sdk/unity/onboard/authentication/oidc"}]},{"language":"es","pages":[{"title":"es","href":"/es/sdk/unity/onboard/authentication/oidc"}]}]},"basePath":"","title":"OIDC - Social Sign In - Sequence Docs","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-8gCTkA22.js","lightbox-handle-r17bVUz3.js"]}