flutter_web_auth icon indicating copy to clipboard operation
flutter_web_auth copied to clipboard

CallbackActivity not invoke

Open Gperez88 opened this issue 5 years ago • 4 comments

i have configured activity callback on my manifest but it's not called

<!-- OAuth Callback--> <activity android:name="com.linusu.flutter_web_auth.CallbackActivity"> <intent-filter android:label="flutter_web_auth"> <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" /> </intent-filter> </activity>

Gperez88 avatar Apr 02 '20 22:04 Gperez88

I’m also having this problem

Michael24884 avatar Apr 04 '20 06:04 Michael24884

I'm also having this problem. All callbacks return in browser as 'This site cannot be reached."

<activity android:name="com.linusu.flutter_web_auth.CallbackActivity" > <intent-filter android:label="flutter_web_auth"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="fhir_cerner" /> </intent-filter> </activity>

image

fringefilmsoz avatar Jun 05 '20 13:06 fringefilmsoz

The android scheme must have the format: domain.company.some_name and must match the redirect uri configured in the auth server

RaulMarquezInclan avatar Jun 19 '20 09:06 RaulMarquezInclan

The android scheme must have the format: domain.company.some_name and must match the redirect uri configured in the auth server

I have the same problem but don't really understand the answer. sorry. Could you maybe break it down with an example? Also, where do you configure the auth server? thanks

danielmintz avatar Jun 28 '21 14:06 danielmintz

Please read our new troubleshooting guide: https://github.com/LinusU/flutter_web_auth#troubleshooting

In the screenshot above it looks like a final :// is missing when redirecting.

LinusU avatar Nov 01 '22 09:11 LinusU