Giter Club home page Giter Club logo

Comments (10)

calebkleveter avatar calebkleveter commented on May 22, 2024

I definitely want to do this soon. I can't guarantee when it will be done with my schedule, but I'll do it as soon as I get a chance.

from imperial.

grosch avatar grosch commented on May 22, 2024

Hi @calebkleveter. Just wanted to give a small poke on this so you don't forget ;)

from imperial.

grosch avatar grosch commented on May 22, 2024

Really good info here about the server side part of this:

https://blog.curtisherbert.com/so-theyve-signed-in-with-apple-now-what/

from imperial.

0xTim avatar 0xTim commented on May 22, 2024

So picking this up as I've implemented in a couple of client projects here - what do you want from Imperial for this? For doing it on iOS devices Imperial is not the way to do it since it's basically just a JWT

from imperial.

grosch avatar grosch commented on May 22, 2024

Nada. I posted this way back when because you had originally told me to use Imperial when I was first asking you about this at WWDC, @0xTim

from imperial.

0xTim avatar 0xTim commented on May 22, 2024

😅 well I'm going to reopen it because there's definitely scope to add SIWA as a provider to Imperial, it just needs to be made clear that it's for web (and android) only, iOS should just use JWT

from imperial.

Strobocop avatar Strobocop commented on May 22, 2024

Here's another good source of info that may ultimately be useful when implementing this: https://sarunw.com/posts/sign-in-with-apple-3/

from imperial.

grosch avatar grosch commented on May 22, 2024

Hey @calebkleveter, any ETA on this one?

from imperial.

calebkleveter avatar calebkleveter commented on May 22, 2024

I'm so sorry. 😢 I really want to implement this but time constraints are not helping. I haven't done any work on this at all.

from imperial.

0xTim avatar 0xTim commented on May 22, 2024

I've been looking at this and it doesn't really fit with Imperial right now. To start with, Apple's OAuth flow is non-existent until they decide to open it up. Secondly there's no real OAuth flow as Imperial understands it. You use the JS button which eventually calls a route on your app with the data. This provides a JWT token which you can use Vapor's JWT library to verify in a single line and there's not much else to do. There's a good write up on RW, here's the relevant part. That's basically what Imperial would need to provide and most of it is vey app specific and would be delegated to Imperial's completion handler. I'm going to close this for now

from imperial.

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.