dear nuBuilder user and admins
I am trying to configure nuBuilder with sso. unfortunately the "Single_sign-on_(SSO)" howto is no longer up to date.
(https://wiki.nubuilder.cloud/index.php? ... n-on_(SSO)
The app.py file (from M$) has different code than described in the how-to.
For example, the how-to said:
5b. In the function that starts with:
@app.route("/")
def index():
Replace the line
return render_template('index.html', user=session["user"], version=msal.__version__)
however, this line of code can be found in the app.py from M$:
return render_template('index.html', user=auth.get_user(), version=__version__)
do any of you have nuBuilder running with SSO? can anyone help me out? i'm not a programmer, just a power user in a non-profit environment.
any hints or tips on how to get this up and running would be greatly appreciated
sorry for my EN, not my 1st language
sincerely
add: the sso-login itself works, but no login into nuBuilder will happen
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
nuBuilder & SSO Topic is solved
-
- nuBuilder Team
- Posts: 3984
- Joined: Sun Oct 14, 2018 6:43 pm
- nuBuilder Version: 4.5
- Has thanked: 5 times
- Been thanked: 14 times
- Contact:
Re: nuBuilder & SSO
Hello imsv and welcome to nuBuilder! (Herzlich willkommen!)
Unfortunately I have to inform you that the SSO functionality is currently not supported by the nuBuilder team.
But you could try to send a private message to user incoherence (he implemented SSO ).
Please let me know if you have any further questions.
Unfortunately I have to inform you that the SSO functionality is currently not supported by the nuBuilder team.
But you could try to send a private message to user incoherence (he implemented SSO ).
Please let me know if you have any further questions.
Re: nuBuilder & SSO
the function of SSO within nuBuilder is simply a joke and should be removed from the futures list of nubuilder.
many times i tried, no chance - it defently not working
many times i tried, no chance - it defently not working
-
- nuBuilder Team
- Posts: 3984
- Joined: Sun Oct 14, 2018 6:43 pm
- nuBuilder Version: 4.5
- Has thanked: 5 times
- Been thanked: 14 times
- Contact:
Re: nuBuilder & SSO
There's currently no official support for SSO by the nuBuilder team.
The SSO setup relies on external resources and might require additional configuration depending on your environment.
It's possible the functionality might be affected by compatibility issues with newer versions of nuBuilder.
While the creator of the tutorial was able to make SSO work, there are known challenges. If you can share which specific step you're encountering issues with, it would be helpful in troubleshooting the problem.
Removing SSO entirely from nuBuilder would be a last resort. Let's see if we can work together to get it functioning for you.
The SSO setup relies on external resources and might require additional configuration depending on your environment.
It's possible the functionality might be affected by compatibility issues with newer versions of nuBuilder.
While the creator of the tutorial was able to make SSO work, there are known challenges. If you can share which specific step you're encountering issues with, it would be helpful in troubleshooting the problem.
Removing SSO entirely from nuBuilder would be a last resort. Let's see if we can work together to get it functioning for you.
Re: nuBuilder & SSO
dear reader (of my problem/wishes)
i've follow all the steps here https://wiki.nubuilder.cloud/index.php? ... n-on_(SSO) -also the M$ stuff to get ms-identity-docs-code-python/flask-web-app
i've running nuBuilder NOT in the root of Apache, it's located at https://mydomain/nubuilder
i've configured Apache as in the wiki - the wsgi_sso is located at https://mydomain/sso (within nubuilder pysical folder: /nubuilder/wsgi_sso)
when i hit the button on nubuilder "SSO Log in" i came to the login senario of our SSO-Provider (Azure). The login process works so far, but it come back to the URL :http://mydomain/sso - with the two possible links
- Cal a downstream API
- Logout
(see attachment)
both links dint work - both ending at https://mydomain/call_downstream_api or https://mydomain/logout - instead of ..../sso/logout or .../sso/call_downstream_api
when i fill the URL manualy into browser (/sso/logout) just this works - a logout is successfull.
in the documents i cant find any further information what is to do. i'm not a programmer or software engeneer. i hat never before troubles like this.
sorry, I am very disappointed past hours of try, try and try.
what i must do for to have nuBuilder with SSO login? does anyone have any idea what I am doing wrong ?
many thank for any information (or solution)
(excuse to everbody, EN is not my 1st language)
i've follow all the steps here https://wiki.nubuilder.cloud/index.php? ... n-on_(SSO) -also the M$ stuff to get ms-identity-docs-code-python/flask-web-app
i've running nuBuilder NOT in the root of Apache, it's located at https://mydomain/nubuilder
i've configured Apache as in the wiki - the wsgi_sso is located at https://mydomain/sso (within nubuilder pysical folder: /nubuilder/wsgi_sso)
when i hit the button on nubuilder "SSO Log in" i came to the login senario of our SSO-Provider (Azure). The login process works so far, but it come back to the URL :http://mydomain/sso - with the two possible links
- Cal a downstream API
- Logout
(see attachment)
both links dint work - both ending at https://mydomain/call_downstream_api or https://mydomain/logout - instead of ..../sso/logout or .../sso/call_downstream_api
when i fill the URL manualy into browser (/sso/logout) just this works - a logout is successfull.
in the documents i cant find any further information what is to do. i'm not a programmer or software engeneer. i hat never before troubles like this.
sorry, I am very disappointed past hours of try, try and try.
what i must do for to have nuBuilder with SSO login? does anyone have any idea what I am doing wrong ?
many thank for any information (or solution)
(excuse to everbody, EN is not my 1st language)
- Attachments
-
- nubuilder-sso-ending.png (19.48 KiB) Viewed 4176 times
Re: nuBuilder & SSO
does nobody here use nuBuilder with SSO ???
i come defently not further with - PLZ HELP !
i come defently not further with - PLZ HELP !
-
- nuBuilder Team
- Posts: 3984
- Joined: Sun Oct 14, 2018 6:43 pm
- nuBuilder Version: 4.5
- Has thanked: 5 times
- Been thanked: 14 times
- Contact:
Re: nuBuilder & SSO
yes, i hat contact with him. Unfortunately, he couldn't tell me what the problem was either
how ever, past a long time of try&error i've figured out why - it works now.
the last part, reason, was (where incoherence could not help because of not having this info/config of my enviroment) a missconfigured apache config this was the reason of why i was not automaticly loged-in in nubuilder.
well; a lot of dust - i've to say PLEASE EXCUSE ME for my words about nuBuilder and SSO would not work
thank you all for your attention
sincerely
add: at my next workday in the office (right now i'm at home) i wanna upload here the app.py for other users
how ever, past a long time of try&error i've figured out why - it works now.
the last part, reason, was (where incoherence could not help because of not having this info/config of my enviroment) a missconfigured apache config this was the reason of why i was not automaticly loged-in in nubuilder.
well; a lot of dust - i've to say PLEASE EXCUSE ME for my words about nuBuilder and SSO would not work
thank you all for your attention
sincerely
add: at my next workday in the office (right now i'm at home) i wanna upload here the app.py for other users
Re: nuBuilder & SSO
i've installed nuBuilder like the wiki shows - without the part of app.py(.txt). "my one" you could find here as attachment.
in this i've also added the folder/place where the flask-session-files would be stored (SESSION_FILE_DIR) because when it running on linux system, the root folder is not accessable for the task who have running nubuilder (sso / flask). of sure, this part could also be in the .config file where other stuff is defined.
keep in mind: the hole installation of nuBuilder MUST be in the root folder of your http-service (in apache it is the "DocumentRoot"). when not, the SSO (wsgi) dint work successfull.
one more important step/thing:
If there is no access level named Default defined in nubuilder, you will probably get an error messing like the following:
SSO login...
Access Forbidden.
Error during SSO login. Internal information: There must be exactly one entry in "Access Levels" with "Description" of Default but found 0
Log in not using SSO (→ https://your.host.name/), create an access level having the description Default and try again. This should do the trick.
well, now i hope someone can also use the sso functionality with my addional information in case of nuBuilder and SSO
have a nice day!
in this i've also added the folder/place where the flask-session-files would be stored (SESSION_FILE_DIR) because when it running on linux system, the root folder is not accessable for the task who have running nubuilder (sso / flask). of sure, this part could also be in the .config file where other stuff is defined.
keep in mind: the hole installation of nuBuilder MUST be in the root folder of your http-service (in apache it is the "DocumentRoot"). when not, the SSO (wsgi) dint work successfull.
one more important step/thing:
If there is no access level named Default defined in nubuilder, you will probably get an error messing like the following:
SSO login...
Access Forbidden.
Error during SSO login. Internal information: There must be exactly one entry in "Access Levels" with "Description" of Default but found 0
Log in not using SSO (→ https://your.host.name/), create an access level having the description Default and try again. This should do the trick.
well, now i hope someone can also use the sso functionality with my addional information in case of nuBuilder and SSO
have a nice day!
- Attachments
-
- app.py.txt
- (3.42 KiB) Downloaded 80 times