Skip to content

Commit

Permalink
adds id_token
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Jul 18, 2023
1 parent 61b693e commit a1026c7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ crashlytics-build.properties
/UIElementsSchema
ios-build/*
web3auth-android-build_*/
TestBuild_BackUpThisFolder_ButDontShipItWithYourGame/*
TestBuild_BackUpThisFolder_ButDontShipItWithYourGame/*
.DS_Store
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "web3auth-unity-sdk.sln"
}
16 changes: 13 additions & 3 deletions Assets/Plugins/Android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.INTERNET" />
<queries xmlns:android="http://schemas.android.com/apk/res/android">
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>
<application>
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@style/UnityThemeSelector">
<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="torusapp" android:host="com.torus.Web3AuthUnity"
android:pathPrefix="/auth"
android:pathPattern="/*" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>
</application>
Expand Down
1 change: 1 addition & 0 deletions Assets/Plugins/Web3AuthSDK/Types/ExtraLoginOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class ExtraLoginOptions {
public Prompt prompt { get; set; }
public string max_age { get; set; }
public string ui_locales { get; set; }
public string id_token { get; set; }
public string id_token_hint { get; set; }
public string login_hint { get; set; }
public string acr_values { get; set; }
Expand Down

0 comments on commit a1026c7

Please sign in to comment.