By: Miles Cook user 15 May 2020 at 3 a.m. CDT

3 Responses
Miles Cook gravatar
Hi. On the server, against my client, I'm not able to enter a custom URI redirect scheme e.g. myapp://com.cemet.MyPackageName - I get an error about a malformed URI. I can however add it in an attached scope, but then my app doesn't go to the correct Login page, it simply returns from the attempt to open the browser and the login result is a failure. This may have been an incorrect route to try - please bear with me I'm new to Gluu Some config for the client: OPENID CONNECT CLIENTS DETAILS ------------------------------ - **Name:** My Mobile App - Android - **Description:** My Mobile application - Android Version - **Client ID:** 439c276b-5635-4a33-a8a7-2b0d1e559c28 - **Subject Type:** pairwise - **ClientSecret:** XXXXXXXXXXX - **Application Type:** native - **Persist Client Authorizations:** false - **Pre-Authorization:** false - **Authentication method for the Token Endpoint:** client_secret_basic - **Logout Session Required:** false - **Include Claims In Id Token:** false - **Disabled:** false - **Scopes:** [profile, openid, email, user_name] - **Grant types:** [authorization_code, implicit, refresh_token, client_credentials, password, urn:ietf:params:oauth:grant-type:uma-ticket] - **Response types:** [code, token, id_token] Thanks.

By Miles Cook user 15 May 2020 at 3:46 a.m. CDT

Miles Cook gravatar
Ok, i've since spotted the part in https://gluu.org/docs/gluu-server/admin-guide/openid-connect/ which says if the redirect is on a different domain (let alone scheme!) it needs to be in a sector. SO it appears this is correct. I just need to work out why the browser flashes up and disappears!

By Miles Cook user 15 May 2020 at 4:54 a.m. CDT

Miles Cook gravatar
Closing as I answered my own question...

By Thomas Peterson user 12 Jul 2021 at 1:58 a.m. CDT

Thomas Peterson gravatar
Hello Miles Cook, did u manage to set up in Gluu a custom scheme for your redirect URL? It would be very helpful if u could tell me how you did it because im failing at setting up a custom scheme for a redirect URL. https://support.gluu.org/authentication/9783/redirect-uri-back-to-flutter-app-custom-scheme/ Kind regards