Code Monkey home page Code Monkey logo

Comments (16)

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024 1

No it isn't ;). I will get to it as soon as iOS 13 is released. Apple will not force every app to support this without a proper time to get it done. At least I hope they will not.

I don't know if other plugins support that feature yet as I only use this one.

You could always try to get it working if Apple uses standard oauth2 it might work out of the box.

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

Hey,

as I would like to support that in my projects as well I will try to make it work. But I have not look into it yet.

I only heard some rumors that Apple will try to force apps to use it, if they use Google or Facebook.

BR

from generic-oauth2.

leshik avatar leshik commented on August 10, 2024

Apple will try to force apps to use it, if they use Google or Facebook

yeah, that's exactly why I'm asking :) we already have google sign in, don't want to be thrown out of AppStore because of it ;)

from generic-oauth2.

zwacky avatar zwacky commented on August 10, 2024

Hey, chiming in on this issue since it's only a short time until iOS 13 hits the market. I suppose it's not compatible, yet? are there plugins where this is already working? maybe need some help?

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

As the iOS part does not require any additional dependencies I could just support it on that platform.

https://github.com/rlfrahm/capacitor-apple-login/blob/master/ios/Plugin/Plugin.swift

But of course it would be nice to get it working with Android and the Web too.

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

Resources

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

On ios the plugin will detect that the ios13 UI is needed, when authorizationBaseUrl contains https://appleid.apple.com/auth/authorize. This is needed for other platforms and ios 12 and earlier anyway.

See https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js/incorporating_sign_in_with_apple_into_other_platforms

Platforms that support custom URL schemes—iOS 12.0 and earlier and Android—must handle the data resulting from the authorization flow by storing it on their app server in the logic of their redirect_uri endpoint. You must then redirect the custom URL scheme to give control back to the app.

from generic-oauth2.

AlvinTCH avatar AlvinTCH commented on August 10, 2024

Hello. I have tried to use this plugin for the Apple Sign in. Am successful in getting the popup and stuff but is stuck at identifying the redirectUrl as the regular 'bunde.name:/' doesn't seem to be accepted by Apple. Hope you can provide insight to how it should be done as I can't seem to find the answer in any forums

{ appId: appId, authorizationBaseUrl: "https://appleid.apple.com/auth/authorize", responseType: "code id_token", redirectUrl: '' // am stuck here, scope: "name email", additionalParameters: { "response_mode": "form_post" } }

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

Hi @AlvinTCH, this plugin does not support it yet. I started working on it in its own branch but it is not ready to use.

from generic-oauth2.

AlvinTCH avatar AlvinTCH commented on August 10, 2024

@moberwasserlechner Thanks for working on it. Really appreciate that. Can't publish my app now that they made it compulsory to be included in the app.

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

You might use another plugin just for swa for the time being because I will not be able to release a version with that feature before end of july.

from generic-oauth2.

AlvinTCH avatar AlvinTCH commented on August 10, 2024

I am currently using another plugin for it. Putting it here if anyone needs it
https://github.com/rlfrahm/capacitor-apple-login
It's good for now but the package is not being actively maintained. Will look forward to your implementation. Cheers!

from generic-oauth2.

vildhjarta8 avatar vildhjarta8 commented on August 10, 2024

@AlvinTCH you can try this plugin, it is a fork of yours, but community will maintain it.
https://github.com/capacitor-community/apple-sign-in

from generic-oauth2.

moberwasserlechner avatar moberwasserlechner commented on August 10, 2024

(Re)testing Siwa is a little weired. To get the full dialog shown I had to reset siwa in my phones settings -> Apple ID -> Password & Security -> Apps using Apple ID -> Delete the app from the list

See https://stackoverflow.com/questions/58995015/reset-sign-in-with-apple-to-the-initial-create-account-state for more details.

from generic-oauth2.

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.