Rainloop-webmail: Question: Sending username/password

Created on 19 Jun 2014  路  8Comments  路  Source: RainLoop/rainloop-webmail

Hi guys

Is it possible to send the username and password on the address bar? Reason being I want to try out autologin from my FileMaker Database via a web viewer so I can avoid the login screen.

Any help much appreciated - amazing app, thank you!

question

Most helpful comment

This SSO thingie will only work on the same server, won't it?
So you can't really do SSO with a different server this way, can you?

Yes, RainLoop can.

1) Enable external SSO:

./data/..../config/application.ini
[labs]
allow_external_sso = On
external_sso_key = "super-puper-sso-key"

2) Get SSO hash by POST request:
http://yourdomain.com/rainloop/index.php?ExternalSso
with POST params:
SsoKey, Email, Password, Login (optional)

3) Redirect to webmail sso url

header('Location: http://yourdomain.com/rainloop/?sso&hash='.$ssoHash);

All 8 comments

You can use RainLoop SSO (sign sign on).
https://github.com/RainLoop/rainloop-webmail/wiki/SSO-example

Schamazeballs! Thanks :)

This SSO thingie will only work on the same server, won't it? So you can't really do SSO with a different server this way, can you?

I would imagine you could whitelist using a crossdomain policy.

It's not about white-listing it's about the fact that shared info for the SSO stored locally. There would simply won't be the SSO Hash in the cache on a different machine.

This SSO thingie will only work on the same server, won't it?
So you can't really do SSO with a different server this way, can you?

Yes, RainLoop can.

1) Enable external SSO:

./data/..../config/application.ini
[labs]
allow_external_sso = On
external_sso_key = "super-puper-sso-key"

2) Get SSO hash by POST request:
http://yourdomain.com/rainloop/index.php?ExternalSso
with POST params:
SsoKey, Email, Password, Login (optional)

3) Redirect to webmail sso url

header('Location: http://yourdomain.com/rainloop/?sso&hash='.$ssoHash);

Really cool! Thank you for that!

It's not bypassing the login page. When i generate sso hash and redirect it to my server it is always redirecting me to the login page without bypassing it!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mpietruschka picture mpietruschka  路  4Comments

MurzNN picture MurzNN  路  5Comments

loxK picture loxK  路  3Comments

o--- picture o---  路  4Comments

ninja- picture ninja-  路  3Comments