Hello,
OpenCraft wants to add
Okta authentication to the edX iOS application (and eventually to the Android app) for one of our clients. There's a couple of options for this, and we'd appreciate guidance on which is most likely to be accepted upstream.
SAML
Okta supports SAML, and so that's what we're currently using to authenticate to the platform.
Issue#632 discusses authenticating to the app with SAML, and converting the SAML token to an OAuth2 token on the platform. And there's also an
edX meeting agenda item about Appsembler adding SAML SSO support.
But I've been unable to find any code or examples of how to do this?
We'd be very interested to hear how this works, and about any progress made on this front.
OpenID Connect
Okta supports OpenID Connect, and provides an
iOS SDK based on
AppAuth that handles the kick out to the browser to login, and redirects back to the app to finish.
Okta SDK and
AppAuth also work on Android.
So this seems like a better-supported option, but we've encountered some issues:
Thank you for your advice!
Cheers,