MaikuB / MaikuB/flutter_appauth
HTTPS problem with VPN IP server
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
Hi!
I'm trying to connect to private server `HTTPS`, using `VPN` and `IP`. It works on the web (I have to trust the site, but works), the problem is when I move to mobile app. I created a Flutter project (A button that connect with my `OAUTH server`). I tried it with `auth0.com` as an example and works! But when I'm using an untrusted server, I can't use it and the **_Log_** gives me the following error:
`E/CONSCRYPT(10959): ------------------Untrusted chain: ----------------------`
So, As you can see from the screenshots, I tried to allow all connections and create a network security config `XML` file as Android says on their website. But it does not work:


So I downloaded my certificates and added to my project:


But it keeps saying:` is not verified`, Any idea?

Also, I added the `allowInsecureConnections: true` but.. meeeeh :(
Thanks! Have a good day!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Android network security config XML and downloaded certificate setup described in the report, then reproduce the HTTPS request against the VPN IP server rather than auth0.com. Check the plugin's Android configuration and the Conscrypt trust error to determine whether this is supported. Done means documenting a working supported configuration or a clear limitation for untrusted certificates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, flutter
- Domain
- authentication, mobile, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100