Как создать URL-адрес перенаправления для библиотеки AppAuth Android studio?

#android #android-studio #appauth

Вопрос:

Я работаю над приложением, которому нужна аутентификация и использование OAuth 2.0 с OpenID Connect, хочу знать

    val REDIRECT_URI =""


         AuthorizationRequest.Builder(
    serviceConfiguration, // the authorization service configuration
    OpenIdUtils.CLIENT_ID, // the client ID, typically pre-registered and static
    ResponseTypeValues.CODE, // the response_type value: we want a code
    OpenIdUtils.REDIRECT_URI).setScope(OpenIdUtils.SCOPE)
    .build();



     Manifest File
    <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="https"
                android:host="host"
                />

        </intent-filter>