swelham
Does anyone know of an implementation for ueberauth that provides a strategy for logging in with outlook.com and office 365 accounts (Azure AD v2.0 endpoint)?
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m aware of 2 such projects, are there others?
git: GitHub - team-alembic/realworld: A fullstack Phoenix LiveView application with back...
New
Hi everyone.
My team and I have been working on a fairly modest app based around video streaming and chat, but we’ve landed a customer t...
New
I really like the adapter patterns that ecto, nebulex, waffle, etc. use and would love find something similar for a key management servic...
New
Hello folks!
So at work, we are seeing some situations where we have to define some “fixed” strings that are used across the codebase in...
New
How Can I Optimise Compile Time Dependencies
I have been building an elixir application for about 2 years now. Many modules and files ha...
New
Hi,
we run different LLM models across a cluster, with each node loading a configurable subset. Model-specific queues let nodes consume ...
New
Other Trending Topics
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with.
But I don’t use it anymore.
Serverless was the promis...
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
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
OvermindDL1
I’ve not seen one yet, but seeing as I’ve made a couple ueberauth strategies so far, it is not at all hard to make if you want to make one yourself.
swelham
I have started one now, I’m just getting a strange issue where the
get_token!function keeps returning a:closederror. Could be something to do with proxy server I am sat behind though! I managed to get past the error but ended up with a timeout issue where the MS login page seemed to just hang and not return a response.I’m going to try it out when I get home where I’m not be held to ransom by a proxy server.
voltone
The
:closederror is probably due to a TLS incompatibility between Erlang (18.3.2 and later) and Microsoft servers with modern (SHA256) certificates. The issue has come up in various places over the last year or so, and I just happened to blog about it earlier today: https://blog.voltone.net/post/9 (last section).TL;DR: you will have to force the connection to use TLS v1.2. The way to do this depends a bit on the TLS/HTTPS client you’re using and the way it wraps Erlang’s
:ssloptions, but if you’re using the OAuth2 library, this post should help.swelham
It’s now working perfectly!
I owe you for that one, it would have taken me ages to figure that out. I have a node project running that is making the same requests and is working fine which was causing me some confusion.
Thanks again!
swelham
For anyone interested, I have just published ueberauth_microsoft to hex and the code for it can be found here.
pedromvieira
Nice job.
Can I have callback_url option?
My app has subdomains for each tenant.
Thanks.
swelham
I don’t see why not.
I’m going to be a bit busy for the next few days at least so would you mind logging an issue on the repo for this so I don’t forget?
pedromvieira
https://github.com/swelham/ueberauth_microsoft/issues/3
swelham
Thanks, I will try and get that in this weekend if I get chance.
leifericf
I’ve been trying to figure this out today, and stumbled upon this thread.
Thanks for creating this ueberauth strategy, @swelham. It seems to be just what I need.
If I may make a suggestion: It could be a good idea to add the keywords “Azure Active Directory” and “Azure AD” to your GitHub repository, so that it is more searchable and thus easier to find.
Related thread:
Cheers!