Coder Social home page Coder Social logo

Native sign-in method about okta-oidc-ios HOT 6 CLOSED

okta avatar okta commented on July 16, 2024
Native sign-in method

from okta-oidc-ios.

Comments (6)

chielos24 avatar chielos24 commented on July 16, 2024 2

hi Nate @nbarbettini. We have the requirement to do native (non-browser) sign-in flow for our newly build app. Stakeholder want a seamless experience on launch of the app, it would help us greatly.

  • Is this a PKCE flow?
  • Does it support SSO with an webapplication?

Can we perhaps:

  • help on developing this in IOS.
  • share a Beta version on this?

from okta-oidc-ios.

codal-ashahu avatar codal-ashahu commented on July 16, 2024

Is this feature still being implemented or taken off the roadmap after this?

Remove Resource Owner Password flow support #84

We are building an App that currently uses 1.0.1 release that has singin with username and password but refresh token feature is not working on that release putting us in tight spot.

Should we wait for this feature to be implemented or go with browser based authentication with popup?

from okta-oidc-ios.

nbarbettini avatar nbarbettini commented on July 16, 2024

@codal-ashahu This feature replaces #84. We weren't able to replace the Resource Owner Password flow immediately in 2.0 since we had to build a supporting library. The 2.1.0 release will include this new functionality to do native (non-browser) sign-in but without the security risk of the Resource Owner Password flow.

I'm not sure why refreshing a token isn't working for you - that should work even in 1.0.1. Sorry about that! Have you opened an issue for it?

from okta-oidc-ios.

nbarbettini avatar nbarbettini commented on July 16, 2024

@IldarAbdullin-okta @olexiylebedyev-okta Did we end up deciding to model this native sign-in method like the Android one? i.e. as authenticate(sessionToken)? I seem to remember that, but it's buried in PRs 😉 I think my description in this issue is not accurate anymore, just wanted to confirm.

from okta-oidc-ios.

codal-ashahu avatar codal-ashahu commented on July 16, 2024

this is a possible linked issue #140

from okta-oidc-ios.

nbarbettini avatar nbarbettini commented on July 16, 2024

@chielos24 Yes, we built this functionality so it's possible to create a seamless (native) sign-in experience without leaving the app.

  • Is this a PKCE flow? Under the hood, yes. It uses the OpenID Connect authorization code flow just like the browser sign-in flow.

  • Does it support SSO with an webapplication? No. There is a tradeoff here: signing in with a browser makes the web session available for SSO in the browser, while signing in with custom native UI does not. If you need SSO in the browser, you'll need to stick with browser sign-in.

Building it requires this library and the okta-auth-swift library. Please see our custom sign-in UI sample for a working demo.

from okta-oidc-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.