oauth - SSO to 3rd party through AzureAD - Stack Overflow
I am confused in the actual flow to implement for what I want :
I have a private Laravel app with its own users which crefentials are stored in my database. Users when logged, can click a button to be redirected and immediately logged to a 3rd party website through SSO. That 3rd party website implements OIDC through AzureAD but I am still not sure how to implement it and which flow fits my case (authorization code, etc)
After some research, I noted the following steps :
- create a service account in AzureAD to get my client id and secret
- sync my current users to AzureAD to my app' specific tenant, with a random generated password (it does not matter since they will never use it and will not be aware of it) to get their azure object ids which I will save to database
- using the service account credentials, request for an access token to consume the API that allows to retrieve an azure object user' specific ID token
- redirect through form POST to 3rd party website passing the ID token with immediate auto submission of the form
- 3rd party website validates the ID token with AzureAD and logs the user
Please let me know if any step is missing or if it is the right implementation ?
最新文章
- 向iPhone学习:谷歌计划改进Android后台管理机制
- 谷歌回应欧盟反垄断指控:安卓利于竞争和消费者
- 2015年形成的计算机发展趋势 Windows10依然强势
- 以色列导航软件公司Waze被谷歌收购
- 力压谷歌、苹果,微软凭什么成为软件霸主?
- 英特尔公布搭载其芯片的Windows 8平板电脑的硬件配置规范
- apache spark - Can't save pyspark ML model :py4j.protocol.Py4JJavaError: An error occurred while calling o577.save. : ja
- perl - How to embed Teraterm in a Visual Studio project - Stack Overflow
- c - Dereferencing a valid pointer results in an error - Stack Overflow
- python - Filtering from index and comparing row value with all values in column - Stack Overflow
- javascript - PHP Cross-Domain POST Request - Session Cookie Not Persisting After Redirect - Stack Overflow
- java - Bluej throws SSLHandshakeException making http request - Stack Overflow
- javascript - Mapping through these JSON elements - Stack Overflow
- c++ - Microbenchmark - backward iteration results in fewer cache misses - Stack Overflow
- c++ - C++20 compile time retrieve size of a vector - Stack Overflow
- java - jOOQ transaction does not work as expected - Stack Overflow
- outlook - Unable to send email using Microsoft Graph API: Error 550 5.7.708 - Stack Overflow