cancel
Showing results for 
Search instead for 
Did you mean: 

I want to integrate login for my application

Former Member
0 Kudos

A-side nav

B header nav

C other views

A and B always show therefore its not depend on router its show in App.view

App.view have a

<tnt:mainContents>
<App id="mainContents"/>
</tnt:mainContents> this line all route view mount to this id so now i want to add login page . when login page show nav and side bar should not show now i am stuck in this first should login page view after should render other views

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

and i am use https://archive.sap.com/discussions/thread/3958850. now login screen is work. problem is routing. i want to block other routers if user not authenticate. could you suggese how to implement authentication mechanism.

jamie_cawley
Advisor
Advisor

Please make this question as answered and start a new thread.

Regards,

Jamie

Former Member
0 Kudos

i am newbie for openui5.

https://github.com/SAP/openui5/tree/master/src/sap.tnt/test/sap/tnt/demokit/toolpageapp this is the app i want to integrate login. could you help me

former_member484715
Contributor
0 Kudos

Hi Supun madushank,

Basically all you need is a mechanism to route from a full screen view to a split app. Go through the foll. link to get an idea:

http://www.sapui5tutors.com/2016/01/routing-from-full-to-split-screen.html

Regards,

Arjun Biswas

Former Member
0 Kudos

Thank you very much for reply

Bernard
Participant

The example shown above is very dated - you would, in my view and with respect, be following some old practices by going through that example (e.g. routing should be in manifest.json, XML Views highly recommended to name just 2 of many obvious concerns that I would have)