Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial login fails #10

Open
jakobadam opened this issue May 19, 2015 · 7 comments
Open

Initial login fails #10

jakobadam opened this issue May 19, 2015 · 7 comments

Comments

@jakobadam
Copy link
Owner

The first login to RD Web sometimes results in an error.

There is log output on the RADIUS server.

It always works the second time...

@jakobadam
Copy link
Owner Author

In order to get more info, attach the Visual Studio debugger to the IIS process and set some breakpoints in: https://github.com/jakobadam/RDSFactor/blob/master/web/RDWeb/Pages/en-US/login.aspx

@oskarb
Copy link

oskarb commented Apr 24, 2016

On the "first" login typically the user have not entered a direct URL to the login page, but something shorter. So they will have been redirected and ReturnUrl is set when they reach the login page. The problem is that with ReturnUrl set the login page fails to set some session variables that the tokenform requires, so the tokenform will trigger a logoff, which redirects back to login - but without ReturnUrl set, so now it will work if the user tries again.

I've fixed this in my fork:
oskarb@3acf8df

@jakobadam
Copy link
Owner Author

Awesome:)

@chrisbbe
Copy link

This is also a issue for me, when will @oskarb fix be merged into a new release?

@oskarb
Copy link

oskarb commented Apr 30, 2016

@chrisbbe Jakob have signaled that he's not maintaining any more. Feel free to use my fork instead, which contains a bunch of other fixes too. Some more are coming within a few days, just want to test them first.

@oskarb
Copy link

oskarb commented Apr 30, 2016

@chrisbbe If you do switch over, beware that I've made some incompatible changes to the configuration file. Look in the sample RDSFactor.ini for current syntax. I think the changes should be obvious.

@chrisbbe
Copy link

chrisbbe commented May 1, 2016

Ok, good to here that you want to continue the maintenance the project :D i will switch over as soon I find out how to build and package the source code. Have you considered to build, package and release versions the same way as in the original project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants