Skip to content

Commit a1026c7

Browse files
adds id_token
1 parent 61b693e commit a1026c7

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,5 @@ crashlytics-build.properties
7474
/UIElementsSchema
7575
ios-build/*
7676
web3auth-android-build_*/
77-
TestBuild_BackUpThisFolder_ButDontShipItWithYourGame/*
77+
TestBuild_BackUpThisFolder_ButDontShipItWithYourGame/*
78+
.DS_Store

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"dotnet.defaultSolution": "web3auth-unity-sdk.sln"
3+
}

Assets/Plugins/Android/AndroidManifest.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" xmlns:tools="http://schemas.android.com/tools">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player"
3+
xmlns:tools="http://schemas.android.com/tools">
34
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
4-
<uses-permission android:name="android.permission.INTERNET" />
5+
<uses-permission android:name="android.permission.INTERNET" />
56
<queries xmlns:android="http://schemas.android.com/apk/res/android">
67
<intent>
78
<action android:name="android.support.customtabs.action.CustomTabsService" />
89
</intent>
910
</queries>
1011
<application>
11-
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@style/UnityThemeSelector">
12+
<activity android:name="com.unity3d.player.UnityPlayerActivity"
13+
android:theme="@style/UnityThemeSelector">
1214
<intent-filter>
1315
<action android:name="android.intent.action.MAIN" />
1416
<category android:name="android.intent.category.LAUNCHER" />
1517
</intent-filter>
18+
<intent-filter>
19+
<action android:name="android.intent.action.VIEW" />
20+
<category android:name="android.intent.category.DEFAULT" />
21+
<category android:name="android.intent.category.BROWSABLE" />
22+
<data android:scheme="torusapp" android:host="com.torus.Web3AuthUnity"
23+
android:pathPrefix="/auth"
24+
android:pathPattern="/*" />
25+
</intent-filter>
1626
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
1727
</activity>
1828
</application>

Assets/Plugins/Web3AuthSDK/Types/ExtraLoginOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class ExtraLoginOptions {
1111
public Prompt prompt { get; set; }
1212
public string max_age { get; set; }
1313
public string ui_locales { get; set; }
14+
public string id_token { get; set; }
1415
public string id_token_hint { get; set; }
1516
public string login_hint { get; set; }
1617
public string acr_values { get; set; }

0 commit comments

Comments
 (0)