Comments (8)
Are you building with iOS 9 and your endpoint is HTTP and not HTTPS? If so you might be running into App Transport Security.
from edx-app-ios.
@mikekatz I'm building for iOS 8 not yet for iOS 9. And the End point Url is HTTP not HTTPS. We've downloaded the master copy and followed the ReadMe and configured the same.
We're able to register but not Sign In, It throws 400 Err. Please suggest ?
from edx-app-ios.
Hi @mrimadali you probably need to set up your server not to require SSL for OAUTH. You need to set the OAUTH_ENFORCE_SECURE
flag in your server config to false.
from edx-app-ios.
Thanks @aleffert, I Will check those settings and give a try.
from edx-app-ios.
Hi @aleffert
By adding OAUTH_ENFORCE_SECURE: false
flag I can call login without SSL. But now I got issue when calling /api/mobile/v0.5/my_user_info
. Response from server:
{
detail = "Authentication credentials were not provided.";
}
Do you have any idea?
from edx-app-ios.
I've sorted this issue by updating settings in server. This is django config issue.
from edx-app-ios.
For those of us encountering the same issue, can you post what configuration you had to change?
Update:
The configuration change can be found here. You must add the line: WSGIPassAuthorization On
from edx-app-ios.
@mrimadali Was the issue fixed for you? What did you change?
@aleffert OAUTH_ENFORCE_SECURE
is already set to false
on both development and production servers. I can sign in to our development server, but strangely, I can't sign in to production. Is there anything else I can do to fix this?
from edx-app-ios.
Related Issues (20)
- Bluetooth permission in iOS 13 HOT 3
- Login Issue edx-app-ios-release-2.21.5 HOT 3
- Swift Compiler Error: Argument labels '(paginator:, collectionView:)' do not match any available overloads.
- ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. HOT 15
- Microsoft external auth is not showing on login view HOT 1
- App with 3rd party sign in services can't be uploaded(published) to the App Store HOT 1
- App not build for iOS 13 SDK HOT 1
- [Apple Store] In-app Purchase is required when release the app on apple store HOT 4
- Registration view seems to not work HOT 6
- AppTrackingTransparency prevent app store release HOT 1
- Invalid Signature at App Store uploading HOT 4
- Not able to run the app with Xcode 12.4 HOT 3
- Current issues i am facing with this App HOT 1
- How to update the custom icon to the material shape to use it HOT 1
- the app crashed due to the memory issue when i click the course after login successfully HOT 8
- Multiple command produce error HOT 2
- IOS app registration screen error 404 HOT 1
- XCODE 14.3.1 (Mac M2 CPU) IOS OpenEDX Compilation Erro HOT 2
- Mac OS M2, (Xcode 14.3.1) Command PhaseScriptExecution failed with a nonzero exit code HOT 5
- XCODE 15 Support required : Facing gradel issue HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edx-app-ios.