this is my first post. I am newbie in Yii framework.
I had tested Yii for a week and I would like to know with Single Sign-On ( SSO )
Example:
I had developed 2 web application like yii app and non-yii.
test.php // simple login authentication php page and non-yii application
localhost/onlinetest // yii application
when I login user authen to "test.php" , I will auto login to "localhost/onlinetest"
and when I logout somewhere in 2 domains . It's logout 2 domains.
any one can help me. thanks
sorry for my english. Thank You
Related
This is my ASP.NET MVC sample
Now I'm clicking log in button and it redirects me to the Auth0 custom login page
Now, I'm clicking login with the google button and I already signed in to my Gmail account but it doesn't bring token, and no redirection
URL : https://ishkyteck.us.auth0.com/login?state=hKFo2SBJRWVZQ1F2dk1WeW91Ry1sdVh2SklnQWhVemZjdS1YcKFupWxvZ2luo3RpZNkgb1FGXzRoYjR5a2phTmU2dUNEMGFUcmk0YXN4a1dRYjmjY2lk2SBTbjdld3VBcWk4Y3JyWFVTcjQ2bkYxSEJHZmF2VGl0cg&client=Sn7ewuAqi8crrXUSr46nF1HBGfavTitr&protocol=oauth2&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F&response_type=code%20id_token%20token&scope=openid%20profile&response_mode=form_post&nonce=637732441711041622.NjQ3MWUxZTYtMTM4Yy00OTQ1LWEyMzUtMTBmN2Y5NjQ5OWVkMzNjYjllMTItNTMwYi00NmIyLWIyMzEtNTY0MjQzNDk1ODll&audience=https%3A%2F%2Fishkyteck.us.auth0.com%2Fapi%2Fv2%2F&x-client-SKU=ID_NET461&x-client-ver=6.7.1.0
and it hits the AuthorizationCodeReceived method but does not bring the token
Please, auth0 community developer look into this bug and resolve. I'm using your provided asp.net MVC sample but it doesn't work.
Sample I downloaded from : https://github.com/auth0-samples/auth0-aspnet-owin-mvc-samples/tree/master/Quickstart/01-Login/MvcApplication
Please help me. Thank you!!
Issue reproducing sample (my auth0 Gmail SSO sample),
https://drive.google.com/file/d/1aHXDCLZjcXth2u1KzON7hhhzKOIv6B0b/view?usp=sharing
When I enable this button, Gmail login does not work in the auth0 universal custom login page
auth0 custom universal login page
I'm looking for a way to have a customized SPA (react/angular) login page beside of my Duende Identity Server API (developed in ASP.NET 6.0)
I googled it all day and just i found this article:
https://medium.com/#piotrkarpaa/using-spa-react-angular-ui-with-identity-server-4-dc1f57e90b2c
Which is not working...
Okay, so I ran into same situation few days ago, and it was sorted out in a tricky way. And also I landed on this same article you mentioned.
Duende IdentityServer comes with .cshtml pages. The frontend developer designed the same login page (as of reactjs frontend) in .cshtml and inserted that in IdentityServer's login page. Afterwards the workaround was. When user lands on reactjs login page. It automatically redirects to IdentityServer's login page. Though it is not the best approach but a work around that solved our problem.
Background;
Microservices project
.net 6 api (backend)
reactjs (frontend)
Duende IdentityServer 6 for authentication
I hope this helps you out. Goodluck :)
I am newbie in Blazor development.
I'm starting with the development of a Blazor Server App.
I would like the user to be redirected to the login page when is not logged in. Where (in what file) can I enter this check and how redirect it?
Thanks a lot.
I am implementing SSO for my app. I am facing the following problem.
1.) SSO page opens up in web view. How to close the web view after the user is authenticated ? And also how should I capture the cookie or data after login ? Is there any way ?
2.) Backend is using SAML auth. How to implement in my app ? I am using Xamarin iOS for development.
There are two official document here:
For the first question:
https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-v1-enable-sso-ios
For the second question:
https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-v1-debug-saml-sso-issues
These docs can guide you to start project.After that , if have detailed questions ,you can ask new questions.
I have multiple ember apps, but just one of them has the login page. I want to authenticate all of them with this unique page. How can I redirect other apps to an external login page using ember-simple-auth and redirect to the corresponding app after the authentication?
You need to write custom authenticator. In it's authenticate method I suggest to not redirect, but open a child window with login page. And that login page should be able to communicate with your ember app in some way (window.postMessage for example) in order to give your app auth token. Authenticator must wait until it receive answer (promise and timer will help with waiting). I used such method with google's oauth in node-webkit application (my authenticator opens google's oauth page where user prompted to give my app an access). I don't want to share a code because its too big, complex and have code specific to nw.js but I hope my answer will help. I used code of oauth2 authenticator to develop my own, it helped me a lot.