on 04-28-2017 1:31 PM
hi experts,
here is my case, i create a app with ui5. before user open view1, i check if the user has logoned, if not, i will open logon view instead.
view 1:
sap.ui.controller("elearning_ui5.controller.Tile", { _oToken: null , onInit: function() { // init router var oRouter = sap.ui.core.UIComponent.getRouterFor(this); if (!this._oToken) { oRouter.navTo("logon"); } },
but it doesn't work.
can anyone give some hint?
how to handle logon page?
Hi Leon ,
Are you using sapIDS logon page or your own custom logon page ?? ...If custom than how you are authenticating the user are you using you custom system not IDS ??
Please provide these details .. if its standard IDS .. than it will automatically leads you to the logon page if you are not logged in.
Thanks
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi viplove,
i am creating my own custom logon page. Username and password input on logon page will be sent to backend server, there if user is verified, a special token will be responed.
by the way, what is sapIDS ? my app will not depend on sap, i just use ui5 or open ui5 as front end framework.
thanks a lot
Leon
Hi Leon ,
By reading your reply , i think you are not hosting your application on cloud so than SAP IDS doesn't come into picture. but where ever you are hosting like on SAP gateway .. than it will be acting as service from SAP gateway which needs to be authenticated from SAP gateway user name and password .. it's not good you to authenticate manually inside the app.
thanks
Viplove
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.