Skip to content

Discovery document error #834

Open
Open
@DJSendi

Description

@DJSendi

I´m trying to run my AppAuth Android in my Gluu Server 4.3 installed on my Ubuntu 20, but my app shows a "Failed to retrieve discovery document: Network error.

The only changes i do are in the manifest and the json conf

The manifest changes:
<activity android:name="net.openid.appauth.RedirectUriReceiverActivity" android:exported="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="https" android:host="appopenid.org" android:path="/oauth2redirect"/> </intent-filter> </activity>

The auth_config.json:

{ "client_id": "c23cdb4c-6539-4045-90db-71171d594ffe", "redirect_uri": "https://appopenid.org/oauth2redirect", "end_session_redirect_uri": "https://appopenid.org/oauth2redirect", "authorization_scope": "openid email profile", "discovery_uri": "https://test7.gluu.org/.well-known/openid-configuration", "authorization_endpoint_uri": "", "token_endpoint_uri": "", "registration_endpoint_uri": "", "user_info_endpoint_uri": "", "https_required": true }

The log error says : Network error when retrieving discovery document

I search and it could be cause my IdP isn´t trusted but i don´t know how to solve it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions