sorliem
Hello!
I am looking at implementing Apple Sign in soon and was looking for an out-of-the-box solution in the Elixir community, if there was one. But, since Apple Sign In is so new, I didn’t expect to see any libraries out there.
I however came across the Ueberauth project and was wondering if there were any plans to have Apple be one of the providers?
Thank you.
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 8- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
OvermindDL1
What is apple sign in? What protocol is it? Is it just OpenID Connect or the older OAuth2 or something else?
sorliem
Sorry, I should have had more information. Apple says they implemented the OpenID Connect standard, but from an article by Auth0 they say
So I guess another question would be does Ueberauth support OpenID connect flows? Or just the Oauth2 protocol.
I haven’t done much experimenting with the Apple Sign in API, and this question may have been a bit premature. Apologies for that.
EDIT: Apple sign in docs i’m looking at Sign in with Apple REST API | Apple Developer Documentation
OvermindDL1
OpenID Connect is mostly just OAuth2 with some auto-finding and so forth. If you manually define the connections for OAuth2 then it generally works on OpenID Connect. So you could probably just take the oauth2 plugin and do that, or fork it and bake in Apple’s connections into it so it becomes fairly configurationless.
Schultzer
If you go with GitHub - pow-auth/pow: Robust, modular, and extendable user authentication system · GitHub you get apple sign in out off the box with GitHub - pow-auth/assent: Multi-provider framework in Elixir · GitHub
sorliem
Oh, cool. I’ll take a look at Pow, I have not heard of that before. Thanks @Schultzer and @OvermindDL1!
JeyHey
Hi
I took a look at https://github.com/pow-auth/assent. It is not clear to me how to use it. I have a native iOS app that sends the apple identity token and the authorization code (see apple-documentation) to my phoenix server. The server receives it in the
onboarding_controller.ex:I would like to validate the identity token via my Registration-module like so:
Is this possible with
assentand how could I achieve this?danschultzer
You should call the callback method passing along the auth code:
:session_paramsare required in Assent, but in this case it can just be an empty map as you don’t need to validate state.Remember that the
:redirect_uriin the config should match your app. If I remember correctly with Apple it just has to be nil or empty string, since there’s no redirect uri in the app:JeyHey
Wow, it is so easy. Thank you! I got it to work after figuring out that I had to use the bundle identifier of my app as client_id.