使用AppAuth进行IdentityServer4 Android身份验证后登录后是否无法重定向到android活动?

时间:2018-08-23 03:03:27

标签: android identityserver4 appauth

我想使用带 identityServer4 AppAuth 库的asp.net内核对Android应用程序使用身份验证。 我可以登录。但是我想知道如何重定向到我的Android应用程序中的活动。 (我也不想使用网络视图)

在这里我配置 位于ids4的Android客户端。 org.springframework.web.util.UriBuilder

Android配置

manifestPlaceholders = [ 'appAuthRedirectScheme': 'com.googleusercontent.apps.samudini' ] Gradle应用文件

<activity android:name="net.openid.appauth.RedirectUriReceiverActivity">
        <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="com.googleusercontent.apps.samudini"

            />
        </intent-filter>
    </activity>

清单

{{1}}

0 个答案:

没有答案