Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement OAuth (authorization code flow) for mobile-apps using deep-links as redirection URL

dgr84
Nimbostratus
Nimbostratus

Hello,

does anyone know why it is currently not possible to configure an OAuth-Client config with Grant-Type 'Authorization Code Flow' and a 'custom-scheme'-redirect URI (mobile app deep-link)?

For example I want to create a "Oauth Authorization Server - Client Application" with Grant-Type 'Authorization Code Flow' and as redirect URI i want to configure "com.mydomain.app://oauth/callback"

Can someone explain why this is not working?

Cheers

 

2 REPLIES 2

LiefZimmerman
Community Manager
Community Manager

@dgr84 - thanks for the question. I see you've not had a response - lemme see who I can find.

Have you tried some custom irule as I am not an oauth expert by no means but maybe try configure the redirect as an irule as the example below:

 

https://community.f5.com/t5/technical-forum/original-url-redirect-after-apm-authentification/td-p/26...

 

There is also an iRule option to be attached under the OAuth Server  but there is not a lot of info for it:

 

https://community.f5.com/t5/technical-forum/using-custom-oauth-client-irules/td-p/254118